Merge pull request #1853 from SkynetLabs/add-missing-cors-headers

hotfix: add missing cors headers
This commit is contained in:
Christopher Schinnerl 2022-03-10 09:29:17 +01:00 committed by GitHub
commit 85df3958c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;