diff --git a/lib/nginx/default.conf b/lib/nginx/default.conf index 4b5107b4..e9dceb74 100644 --- a/lib/nginx/default.conf +++ b/lib/nginx/default.conf @@ -40,7 +40,7 @@ server { location /api/ { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' '*'; - add_header 'Access-Control-Allow-Methods' 'GET, HEAD, POST, OPTIONS'; + add_header 'Access-Control-Allow-Methods' 'GET, HEAD, POST, OPTIONS, PATCH'; add_header 'Access-Control-Allow-Headers' '*'; add_header 'Access-Control-Expose-Headers' '*'; add_header 'Access-Control-Max-Age' 1728000;