diff --git a/weaver/main.go b/weaver/main.go index ce0a8290..5a6b3075 100644 --- a/weaver/main.go +++ b/weaver/main.go @@ -146,7 +146,6 @@ func handleHttp(router *weave.Router) { io.WriteString(w, router.Status()) }) http.HandleFunc("/status-json", func(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Access-Control-Allow-Origin", "*") json, _ := router.MarshalJSON() w.Write(json) })