diff --git a/main.go b/main.go index 400e9768d5..9bf16b56f0 100644 --- a/main.go +++ b/main.go @@ -72,6 +72,8 @@ func enableCors(w *http.ResponseWriter) { } func getStatus(w http.ResponseWriter, r *http.Request) { + enableCors(&w) + status := Status{ Online: stats.IsStreamConnected(), ViewerCount: stats.GetViewerCount(),