From dc18f6395739c31f3ba923b1c287c4f6c37ce3d4 Mon Sep 17 00:00:00 2001 From: Saurabh Shrihar Date: Fri, 5 Apr 2024 15:54:48 +0400 Subject: [PATCH] Update allow methods --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index ef42839..e0b141f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -25,7 +25,7 @@ http { add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Credentials false; add_header Access-Control-Allow-Headers *; - add_header Access-Control-Allow-Methods ALL; + add_header Access-Control-Allow-Methods GET, POST, OPTIONS; add_header Access-Control-Expose-Headers *; }