mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 08:18:16 +03:00
no need for absolute path for prometheus endpoint pointing to metrics
This commit is contained in:
parent
a6d55b7e76
commit
7b047ed28d
@ -610,7 +610,7 @@ func Listen() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
w.Header().Set("Content-Type", "text/html")
|
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 {
|
if l.AutoconfigHTTPS.Enabled {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user