From f6a35ceaeb990e3a315ee82d1f8f261bed9458ca Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 22 May 2024 23:21:59 +0200 Subject: [PATCH] wip --- app/vlselect/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vlselect/main.go b/app/vlselect/main.go index a45cf26c3..988d9fe1e 100644 --- a/app/vlselect/main.go +++ b/app/vlselect/main.go @@ -93,7 +93,7 @@ func RequestHandler(w http.ResponseWriter, r *http.Request) bool { // See https://developer.chrome.com/docs/lighthouse/performance/uses-long-cache-ttl/ w.Header().Set("Cache-Control", "max-age=31536000") } - r.URL.Path = path + r.URL.Path = strings.TrimPrefix(path, "/select") vmuiFileServer.ServeHTTP(w, r) return true }