Fix TypeScript

This commit is contained in:
2025-10-02 20:48:19 +03:00
Unverified
parent 355283c668
commit 9e3449d07d
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ app.use('/api', createProxyMiddleware({
app.use(express.static(resolve(filePath)));
// SPA routing - catch all handler for client-side routing
app.get('*', (_req, res) => {
app.use((_req, res) => {
res.sendFile(resolve(filePath, 'index.html'));
});