* /control/stats: set Content-Type: application/json

This commit is contained in:
Simon Zolin 2019-10-21 17:50:44 +03:00
parent 67a3d44b8c
commit 2dc31bee20

View File

@ -41,6 +41,7 @@ func (s *statsCtx) handleStats(w http.ResponseWriter, r *http.Request) {
return
}
w.Header().Set("Content-Type", "application/json")
w.Write(data)
}