mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:04:39 +03:00
no need for absolute path for prometheus endpoint pointing to metrics
This commit is contained in:
@ -610,7 +610,7 @@ func Listen() {
|
||||
return
|
||||
}
|
||||
w.Header().Set("Content-Type", "text/html")
|
||||
fmt.Fprint(w, `<html><body>see <a href="/metrics">/metrics</a></body></html>`)
|
||||
fmt.Fprint(w, `<html><body>see <a href="metrics">metrics</a></body></html>`)
|
||||
})))
|
||||
}
|
||||
if l.AutoconfigHTTPS.Enabled {
|
||||
|
Reference in New Issue
Block a user