Update default.conf

This commit is contained in:
Mikhail 2024-10-13 14:29:31 +00:00
parent 2469b4b950
commit c8c3fd4f5c

@ -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;