Update file default.conf

This commit is contained in:
Mikhail 2023-05-31 17:00:53 +00:00
parent 727d19773f
commit a999ad37b9

@ -25,7 +25,7 @@ server {
if ($request_method = OPTIONS) {
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-Headers content-type,authorization always;
add_header Access-Control-Allow-Methods OPTIONS,GET,POST,PATCH,PUT,DELETE;
return 200;
}