mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-08-22 02:14:21 -05:00
Add a permissive CORS header on the assets directory
This commit is contained in:
@@ -17,6 +17,11 @@ server {
|
||||
add_header Cache-Control no-cache;
|
||||
}
|
||||
|
||||
# CORS (for third-party integrations)
|
||||
location /assets/ {
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
}
|
||||
|
||||
# Block access to the file used for screenshots
|
||||
location = /screenshots.html {
|
||||
internal;
|
||||
|
||||
Reference in New Issue
Block a user