From d7408d3f411b22b929c48a9426b80074254b561b Mon Sep 17 00:00:00 2001 From: "Denise D." Date: Tue, 18 Aug 2026 11:25:41 +0200 Subject: [PATCH] minor changes --- backend/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/app.js b/backend/src/app.js index ae0dcc9..fa4862d 100644 --- a/backend/src/app.js +++ b/backend/src/app.js @@ -75,7 +75,7 @@ const frontendDistPath = path.join(__dirname, '../dist'); app.use(express.static(frontendDistPath)); // Any GET request that didn't match an API route above gets served index.html -app.get('*', (req, res) => { +app.get(/(.*)/, (req, res) => { res.sendFile(path.join(frontendDistPath, 'index.html')); });