* /control/stats: set Content-Type: application/json
This commit is contained in:
parent
67a3d44b8c
commit
2dc31bee20
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue