diff --git a/default.conf b/default.conf index cd1d69f..4aaad97 100644 --- a/default.conf +++ b/default.conf @@ -482,7 +482,6 @@ server { location /squiz/bitrix/ { - return 200; if ($request_method = OPTIONS) { add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Credentials true always; @@ -505,7 +504,6 @@ server { location /squiz/bitrix/oauth/ { - return 200; if ($request_method = OPTIONS) { add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Credentials true always;