Skip to content

Commit a0d3267

Browse files
committed
Always set CORS headers
Fixes #45
1 parent 82f263e commit a0d3267

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ansible/group_vars/tileservers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ apache:
8989
ModTileThrottlingRenders 128 0.2
9090
</IfModule>
9191
92-
Header set Access-Control-Allow-Origin "*"
92+
Header always set Access-Control-Allow-Origin "*"
9393
9494
Include /etc/apache2/sites-available/tileserver_blocks.inc
9595
<Location /server-status>

ansible/group_vars/website_servers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ apache:
100100
#ProxyPass /timestamp !
101101
Alias "/timestamp" "/var/data/timestamp.txt"
102102
Alias "/v2/timestamp" "/var/data/timestamp.txt"
103-
Header set Access-Control-Allow-Origin "*"
103+
Header always set Access-Control-Allow-Origin "*"
104104
<location /timestamp>
105105
ForceType text/plain
106106
Require all granted

0 commit comments

Comments
 (0)