add missing cors headers

This commit is contained in:
Karol Wypchlo 2022-03-10 08:36:54 +01:00
parent 7f5dc364d3
commit 72cc6554a9
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
1 changed files with 2 additions and 0 deletions

View File

@ -334,6 +334,8 @@ location /skynet/resolve {
}
location ~ "^/(([a-zA-Z0-9-_]{46}|[a-z0-9]{55})(/.*)?)$" {
include /etc/nginx/conf.d/include/cors;
set $skylink $2;
set $path $3;