cors
This commit is contained in:
parent
9d796c0b1c
commit
3644e1332c
2
80.conf
2
80.conf
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user