mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-08-22 02:14:21 -05:00
Add CORS header for the /data directory
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user