From 488fa84d5080070ce5fd498e32ace36ac6333a84 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Wed, 24 Jan 2024 13:34:55 +0100 Subject: [PATCH] Fixes #647 --- server/http_server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/http_server.ts b/server/http_server.ts index 58f29ea..1d90f88 100644 --- a/server/http_server.ts +++ b/server/http_server.ts @@ -423,7 +423,7 @@ export class HttpServer { } }); - const filePathRegex = "/:path{[^!].+\\.[a-zA-Z]+}"; + const filePathRegex = "/:path{[^!].*\\.[a-zA-Z]+}"; this.app.get( filePathRegex,