From e8f7b78d6833ac8d2549b8d015210b03e6a14904 Mon Sep 17 00:00:00 2001 From: Pavel Zavora Date: Thu, 24 Sep 2020 11:55:22 +0200 Subject: [PATCH] fix(CORS): allow PATCH --- services/httpd/handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/services/httpd/handler.go b/services/httpd/handler.go index 1d642838fa8..85d98598849 100644 --- a/services/httpd/handler.go +++ b/services/httpd/handler.go @@ -1890,6 +1890,7 @@ func cors(inner http.Handler) http.Handler { `OPTIONS`, `POST`, `PUT`, + `PATCH`, }, ", ")) w.Header().Set(`Access-Control-Allow-Headers`, strings.Join([]string{