diff --git a/default.conf b/default.conf index c440041..fd0b7cd 100644 --- a/default.conf +++ b/default.conf @@ -26,6 +26,7 @@ server { add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Credentials true always; add_header Access-Control-Allow-Headers content-type always; + add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE; return 200; } add_header Access-Control-Allow-Origin $http_origin always;