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 }