mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-03-21 17:24:37 -05:00
Add a permissive CORS header on the assets directory
This commit is contained in:
parent
2cb9eb62c9
commit
85d4ff6afe
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user