The CORS header should cover the entire webring directory

main
Charlotte Som 2022-03-05 20:27:16 +00:00
parent 1e1fe5b82f
commit e2f4635404
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
location / { location / {
root /srv/http/lavender.software/; root /srv/http/lavender.software/;
location = /webring/data.json { location ^~ /webring/ {
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;
} }
} }