This commit is contained in:
bakatrouble 2021-06-16 23:29:20 +03:00
parent 711c5166ca
commit 69cb156934

View File

@ -14,4 +14,11 @@ location /~static/ {
location / { location / {
try_files $uri @drop_app; try_files $uri @drop_app;
if ($request_method = OPTIONS) {
return 204;
}
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Max-Age 3600;
add_header Access-Control-Expose-Headers Content-Length;
add_header Access-Control-Allow-Headers Range;
} }