This commit is contained in:
Primakov Alexandr Alexandrovich 2021-06-08 09:33:49 +03:00
parent 9d796c0b1c
commit 3644e1332c

View File

@ -11,7 +11,7 @@ server {
}
location /api {
add_header 'Access-Control-Allow-Origin' '*';
# add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range';
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range';