mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 08:23:48 +03:00
no need for absolute path for prometheus endpoint pointing to metrics
This commit is contained in:
parent
a6d55b7e76
commit
7b047ed28d
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue