remove CORS
This commit is contained in:
parent
1a3aeafc0c
commit
209acd0a3e
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue