We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ecffbe commit b9f4dc7Copy full SHA for b9f4dc7
deploy/nginx.conf
@@ -79,6 +79,7 @@ server {
79
# Serve JS files from the output directory. We use a regular expression
80
# match to ensure that we only serve JS files.
81
location ~ ^/output/(.+\.js)$ {
82
+ add_header Access-Control-Allow-Origin *;
83
alias /var/www/trypurescript/staging/.psci_modules/node_modules/$1;
84
}
85
0 commit comments