From cc1c4265c17af1c48228e4922baea75c47ac0e0e Mon Sep 17 00:00:00 2001 From: Vinoth Kannan Date: Fri, 12 Feb 2021 19:37:57 +0530 Subject: [PATCH] DEV: add allow origin header to public javascript files. (#12059) --- config/nginx.sample.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index 372efcc25ae..b3c990adde9 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -135,6 +135,7 @@ server { location ~ ^/javascripts/ { expires 1d; add_header Cache-Control public,immutable; + add_header Access-Control-Allow-Origin *; } location ~ ^/assets/(?.+)$ {