1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-08-13 20:04:49 +02:00

Fix: Do not check latest release for Prometheus statistics (#522)

This commit is contained in:
Ralph Slooten
2025-07-25 19:28:40 +12:00
parent 45f07d3c9b
commit 2a7aa33a0a
3 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ func AppInfo(w http.ResponseWriter, _ *http.Request) {
// 400: ErrorResponse
w.Header().Add("Content-Type", "application/json")
if err := json.NewEncoder(w).Encode(stats.Load()); err != nil {
if err := json.NewEncoder(w).Encode(stats.Load(true)); err != nil {
httpError(w, err.Error())
}
}