1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-29 21:31:07 +02:00

More coverage on web package

This commit is contained in:
Yohann D'ANELLO
2020-09-30 16:09:25 +02:00
parent ac40d81e98
commit ea860a0790
2 changed files with 17 additions and 1 deletions

View File

@ -36,7 +36,7 @@ func viewerPostHandler(w http.ResponseWriter, r *http.Request) {
return
}
w.Header().Set("Content-Type", "application/json")
w.Write(jsonDesc)
_, _ = w.Write(jsonDesc)
// Increment monitoring
monitoring.WebSessions.Inc()