diff --git a/pillar/role/web_static.sls b/pillar/role/web_static.sls index 2e869d6..35c6462 100644 --- a/pillar/role/web_static.sls +++ b/pillar/role/web_static.sls @@ -44,7 +44,7 @@ nginx: - add_header: Access-Control-Allow-Origin "*" {% if website == 'static' %} - location ^/chat/: - - add_header: Access-Control-Allow-Origin "https://chat.opensuse.org" + - add_header: Access-Control-Allow-Origin "*" - location ~ ^/themes/: - autoindex: 'on' {% endif %}