app/vmselect: add missing handler at /select/.../prometheus/vmui/timezone

This is a follow-up for 3a26e4d6ec
This commit is contained in:
Aliaksandr Valialkin 2024-02-14 11:16:47 +02:00
parent 61608b6303
commit e16fc81c74
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB

View file

@ -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)