From 538bacf0b3081162aeca8d69f072a2975934ee49 Mon Sep 17 00:00:00 2001 From: Plena Finance Dev Date: Thu, 9 Jul 2026 16:29:01 +0530 Subject: [PATCH] fix(backend): change invalid Express wildcard path syntax /{*path} to standard * --- backend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index 0fc3548..cee7a11 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -51,7 +51,7 @@ app.post('/_cron/tick', (req, res) => { const publicDir = path.join(__dirname, '../public'); app.use(express.static(publicDir)); -app.get('/{*path}', (req, res, next) => { +app.get('*', (req, res, next) => { if (req.path.startsWith(apiRoot)) return next(); if (req.path === '/_cron/tick') return next();