remove CORS

This commit is contained in:
XenGi 2026-08-12 02:20:48 +02:00
commit 209acd0a3e
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg

View file

@ -83,9 +83,6 @@ in
"~ ^/calendars/([^/]+\.ics)$" = {
alias = "/srv/http/calendars/$1";
extraConfig = ''
if ($http_origin ~ '^https://(www\.)?berlin\.ccc\.de$') {
add_header Access-Control-Allow-Origin $http_origin always;
}
add_header Cache-Control "no-cache";
types {
text/calendar ics;