Update default.conf

This commit is contained in:
Mikhail 2023-12-17 00:39:07 +00:00
parent f6f650621d
commit 1ce10fda62

@ -107,7 +107,7 @@ server {
proxy_pass http://10.6.0.23:1488/; proxy_pass http://10.6.0.23:1488/;
} }
location /answer { location /answer/ {
if ($request_method = OPTIONS) { if ($request_method = OPTIONS) {
add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Origin $http_origin always;
add_header Access-Control-Allow-Credentials true always; add_header Access-Control-Allow-Credentials true always;