From fd511460498a9092782cc6e39549cc26231cca01 Mon Sep 17 00:00:00 2001 From: Henry Teichmeier Date: Fri, 31 Jul 2026 17:32:00 +0000 Subject: [PATCH] Update artifacts/api-server/src/app.ts --- artifacts/api-server/src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artifacts/api-server/src/app.ts b/artifacts/api-server/src/app.ts index 682e705..37d53eb 100644 --- a/artifacts/api-server/src/app.ts +++ b/artifacts/api-server/src/app.ts @@ -63,7 +63,7 @@ app.use("/api", router); const staticDir = process.env.STATIC_DIR; if (staticDir && existsSync(staticDir)) { app.use(express.static(staticDir)); - app.get("*", (_req, res) => { + app.get("/*any", (_req, res) => { res.sendFile(resolve(staticDir, "index.html")); }); logger.info({ staticDir }, "Serving static files");