diff --git a/ocis-pkg/middleware/header.go b/ocis-pkg/middleware/header.go index f8b12a7fed7..a9a33dac985 100644 --- a/ocis-pkg/middleware/header.go +++ b/ocis-pkg/middleware/header.go @@ -35,11 +35,15 @@ func Cors(next http.Handler) http.Handler { // Secure writes required access headers to all requests. func Secure(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Access-Control-Allow-Origin", "*") + // Indicates whether the browser is allowed to render this page in a ,