2 Commits

Author SHA1 Message Date
ab 1df10fb0b7 Merge pull request 'fix(node-player): use Express 5 catch-all route syntax' (#10) from feature/JWT-OIDC-SSO into DEV
Publish Metadata Agent Image (dev) / build-and-push-image (push) Has been cancelled
Publish Node Player Image (dev) / build-and-push-image (push) Successful in 37s
Publish Web Player Image (dev) / build-and-push-image (push) Successful in 1m48s
Reviewed-on: #10
2026-04-08 14:21:54 +00:00
Ultradesu b1f75b3ee2 fix(node-player): use Express 5 catch-all route syntax
Publish Metadata Agent Image / build-and-push-image (push) Has been cancelled
Publish Web Player Image / build-and-push-image (push) Has been cancelled
Publish Node Player Image / build-and-push-image (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 15:20:02 +01:00
+1 -1
View File
@@ -124,7 +124,7 @@ app.get('/auth/logout', (req, res) => {
// Production: serve Vite-built client as static files // Production: serve Vite-built client as static files
const clientDist = path.resolve(import.meta.dirname, '../../client/dist'); const clientDist = path.resolve(import.meta.dirname, '../../client/dist');
app.use(express.static(clientDist)); app.use(express.static(clientDist));
app.get('*', (_req, res) => { app.get('/{*path}', (_req, res) => {
res.sendFile(path.join(clientDist, 'index.html')); res.sendFile(path.join(clientDist, 'index.html'));
}); });