Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Set Content-Type on status endpoint (#70)

Matt Steeled6dcf127bd37
diff --git a/controllers/status.go b/controllers/status.go
index b372651a56..78e62f1dcc 100644
--- a/controllers/status.go
+++ b/controllers/status.go
@@ -13,6 +13,7 @@ func GetStatus(w http.ResponseWriter, r *http.Request) {
middleware.EnableCors(&w)
status := core.GetStatus()
+ w.Header().Set("Content-Type", "application/json")
json.NewEncoder(w).Encode(status)
}