From 0e2a57059455f1aab5a946883592272037d774df Mon Sep 17 00:00:00 2001 From: MickaelK Date: Wed, 30 Jul 2025 17:01:47 +1000 Subject: [PATCH] fix (bundle): bundler assets path missmatch --- server/ctrl/static.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/ctrl/static.go b/server/ctrl/static.go index daa05918..0494c900 100644 --- a/server/ctrl/static.go +++ b/server/ctrl/static.go @@ -243,7 +243,7 @@ func ServeBundle(ctx *App, res http.ResponseWriter, req *http.Request) { urls := req.URL.Query()["url"] for i := 0; i < len(urls); i++ { - curPath := "assets" + strings.TrimPrefix(urls[i], "/assets/"+BUILD_REF) + curPath := "/assets/" + strings.TrimPrefix(urls[i], "/assets/"+BUILD_REF+"/") var file io.ReadCloser var err error if f := applyPatch(curPath); f != nil {