cross origin
parent
0af73912b1
commit
359482c62f
|
@ -10,6 +10,9 @@ server {
|
|||
access_log /var/log/nginx/3d-editor.cybafelo.local.access.log;
|
||||
error_log /var/log/nginx/3d-editor.cybafelo.local.error.log;
|
||||
|
||||
add_header 'Access-Control-Allow-Origin' '*';
|
||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ @node;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue