The CORS header should cover the entire webring directory

This commit is contained in:
Charlotte Som 2022-03-05 20:27:16 +00:00
parent 1e1fe5b82f
commit e2f4635404

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 *;
} }
} }