mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-03-14 22:48:35 +03:00
* /control/stats: set Content-Type: application/json
This commit is contained in:
parent
67a3d44b8c
commit
2dc31bee20
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue