From d02ea2987ece16d30e7515ee5d050b7df9a2e979 Mon Sep 17 00:00:00 2001 From: Hendrik Brummermann Date: Sun, 17 Dec 2023 19:19:38 +0100 Subject: [PATCH] removed /build/js/ prefix --- src/marauroa/server/net/web/WebServletForStaticContent.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/marauroa/server/net/web/WebServletForStaticContent.java b/src/marauroa/server/net/web/WebServletForStaticContent.java index 0ac6f4e3..837c6d5c 100644 --- a/src/marauroa/server/net/web/WebServletForStaticContent.java +++ b/src/marauroa/server/net/web/WebServletForStaticContent.java @@ -117,6 +117,9 @@ private void sendFile(HttpServletRequest request, HttpServletResponse response, if (name.startsWith("/srcjs/")) { name = name.substring(6); } + if (name.startsWith("/build/js/")) { + name = name.substring(9); + } InputStream is = null; OutputStream os = null;