From 85e1561bd8d7b7dae5ff52ad3158e0b420392932 Mon Sep 17 00:00:00 2001 From: Nadim Ritter Date: Mon, 26 Aug 2024 15:55:49 +0200 Subject: [PATCH] hardcode base path --- server/src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/app.ts b/server/src/app.ts index b1b0a9b..ff866cc 100644 --- a/server/src/app.ts +++ b/server/src/app.ts @@ -46,7 +46,7 @@ app.get("/", (req: Request, res: Response) => { }); -app.get("*", (req: Request, res: Response) => { +app.get(ENV.BASE_PATH + "*", (req: Request, res: Response) => { res.sendFile(mainIndexPath); });