app/vmselect: typo fixes in code comments

This commit is contained in:
Aliaksandr Valialkin 2022-12-06 20:58:16 -08:00
parent 35a3170d97
commit 758e8a15fd
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -215,8 +215,8 @@ func RequestHandler(w http.ResponseWriter, r *http.Request) bool {
}
if path == "/vmalert" {
// vmalert access via incomplete url without `/` in the end. Redirecto to complete url.
// Use relative redirect, since, since the hostname and path prefix may be incorrect if VictoriaMetrics
// vmalert access via incomplete url without `/` in the end. Redirect to complete url.
// Use relative redirect, since the hostname and path prefix may be incorrect if VictoriaMetrics
// is hidden behind vmauth or similar proxy.
httpserver.Redirect(w, "vmalert/")
return true