From 72cc6554a9596c2bf63db176a13afa158223aec2 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 10 Mar 2022 08:36:54 +0100 Subject: [PATCH] add missing cors headers --- docker/nginx/conf.d/server/server.api | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/nginx/conf.d/server/server.api b/docker/nginx/conf.d/server/server.api index 4f8f2512..ede926f9 100644 --- a/docker/nginx/conf.d/server/server.api +++ b/docker/nginx/conf.d/server/server.api @@ -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;