diff --git a/handle/handle.go b/handle/handle.go index 6e85835..1c9c99b 100644 --- a/handle/handle.go +++ b/handle/handle.go @@ -168,6 +168,7 @@ func AddCorsWildcardHeaders(serve http.HandlerFunc) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { w.Header().Set("Access-Control-Allow-Origin", "*") w.Header().Set("Access-Control-Allow-Headers", "*") + w.Header().Set("Cross-Origin-Resource-Policy", "cross-origin") serve(w, r) } }