Add CORS.
This commit is contained in:
parent
45688eeab1
commit
adff743fde
|
@ -113,6 +113,8 @@ location /skynet/registry {
|
||||||
}
|
}
|
||||||
|
|
||||||
location /skynet/restore {
|
location /skynet/restore {
|
||||||
|
include /etc/nginx/conf.d/include/cors;
|
||||||
|
|
||||||
client_max_body_size 5M;
|
client_max_body_size 5M;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue