Update default.conf
This commit is contained in:
parent
eabc4eb05e
commit
2469b4b950
@ -482,6 +482,7 @@ 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;
|
||||
@ -504,6 +505,7 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user