add missing cors headers
This commit is contained in:
parent
7f5dc364d3
commit
72cc6554a9
|
@ -334,6 +334,8 @@ location /skynet/resolve {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ "^/(([a-zA-Z0-9-_]{46}|[a-z0-9]{55})(/.*)?)$" {
|
location ~ "^/(([a-zA-Z0-9-_]{46}|[a-z0-9]{55})(/.*)?)$" {
|
||||||
|
include /etc/nginx/conf.d/include/cors;
|
||||||
|
|
||||||
set $skylink $2;
|
set $skylink $2;
|
||||||
set $path $3;
|
set $path $3;
|
||||||
|
|
||||||
|
|
Reference in New Issue