fix: update Express wildcard route for path-to-regexp v8 compatibility

This commit is contained in:
Danny 2026-01-16 14:39:29 -06:00
parent 5195901f01
commit 10ed6a395a
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ app.post('/api/chat/stream', async (req, res) => {
});
// SPA fallback - all other routes serve index.html
app.get('*', (req, res) => {
app.get('/*', (req, res) => {
res.sendFile(path.join(__dirname, 'dist', 'index.html'));
});