DEV: add allow origin header to public javascript files. (#12059)
This commit is contained in:
parent
3b874f1b2d
commit
cc1c4265c1
|
@ -135,6 +135,7 @@ server {
|
|||
location ~ ^/javascripts/ {
|
||||
expires 1d;
|
||||
add_header Cache-Control public,immutable;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
|
||||
location ~ ^/assets/(?<asset_path>.+)$ {
|
||||
|
|
Loading…
Reference in New Issue