Add CORS header for the /data directory

This commit is contained in:
Matt Isenhower
2018-12-01 22:10:13 -08:00
parent 64c973349a
commit 6710ba18fe

View File

@@ -22,6 +22,7 @@ server {
# Force browsers to check for updated data
location /data/ {
add_header Cache-Control no-cache;
add_header Access-Control-Allow-Origin *;
autoindex on;
}