* /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
1 changed files with 1 additions and 0 deletions

View File

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