From d226357fc0f4bd4770e35df754e817ca58aa3130 Mon Sep 17 00:00:00 2001 From: Samuel Date: Fri, 6 Sep 2024 16:04:32 +0200 Subject: [PATCH] ci: fix nginx config --- lib/nginx/default.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;