mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
app/vmselect: add missing handler at /select/.../prometheus/vmui/timezone
This is a follow-up for 3a26e4d6ec
This commit is contained in:
parent
61608b6303
commit
e16fc81c74
1 changed files with 1 additions and 1 deletions
|
@ -592,7 +592,7 @@ func handleStaticAndSimpleRequests(w http.ResponseWriter, r *http.Request, path
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if p.Suffix == "vmui/timezone" {
|
if p.Suffix == "vmui/timezone" || p.Suffix == "prometheus/vmui/timezone" {
|
||||||
httpserver.EnableCORS(w, r)
|
httpserver.EnableCORS(w, r)
|
||||||
if err := handleVMUITimezone(w); err != nil {
|
if err := handleVMUITimezone(w); err != nil {
|
||||||
httpserver.Errorf(w, r, "%s", err)
|
httpserver.Errorf(w, r, "%s", err)
|
||||||
|
|
Loading…
Reference in a new issue