From e16fc81c74b9d87e7f5bfc1e4a37cc21be26d885 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 14 Feb 2024 11:16:47 +0200 Subject: [PATCH] app/vmselect: add missing handler at /select/.../prometheus/vmui/timezone This is a follow-up for 3a26e4d6ec07e6a9b212c0880b11d758a939a18f --- app/vmselect/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vmselect/main.go b/app/vmselect/main.go index ba4e6e88c..ebe89744c 100644 --- a/app/vmselect/main.go +++ b/app/vmselect/main.go @@ -592,7 +592,7 @@ func handleStaticAndSimpleRequests(w http.ResponseWriter, r *http.Request, path } return true } - if p.Suffix == "vmui/timezone" { + if p.Suffix == "vmui/timezone" || p.Suffix == "prometheus/vmui/timezone" { httpserver.EnableCORS(w, r) if err := handleVMUITimezone(w); err != nil { httpserver.Errorf(w, r, "%s", err)