From db6b375b0494886c924090048a4615b9a5da305d Mon Sep 17 00:00:00 2001 From: Stasiek Michalski Date: Apr 20 2020 08:16:29 +0000 Subject: Allow all sites to access chat stuff --- 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 %}