fix some minor ics issues (#275)
fixes #274 Reviewed-on: #275 Co-authored-by: paspo <paolo@asperti.com> Co-committed-by: paspo <paolo@asperti.com>
This commit is contained in:
parent
1a057541ff
commit
37fb0f0900
@ -13,9 +13,14 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~ /events/elenco/ {
|
location ~ /events/elenco/ {
|
||||||
|
default_type "text/calendar";
|
||||||
try_files $uri /it/index.ics;
|
try_files $uri /it/index.ics;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ \.ics$ {
|
||||||
|
default_type "text/calendar";
|
||||||
|
}
|
||||||
|
|
||||||
location ~ ^/wp\-content/uploads/2008/02/Statuto\.pdf$ {
|
location ~ ^/wp\-content/uploads/2008/02/Statuto\.pdf$ {
|
||||||
return 301 https://bglug.it/it/chi-siamo/Statuto.pdf;
|
return 301 https://bglug.it/it/chi-siamo/Statuto.pdf;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{- $numcaratteri := 66 }}
|
{{- $numcaratteri := 66 -}}
|
||||||
BEGIN:VCALENDAR
|
BEGIN:VCALENDAR
|
||||||
VERSION:2.0
|
VERSION:2.0
|
||||||
PRODID:-//BgLUG//BgLUG Events Calendar//EN
|
PRODID:-//BgLUG//BgLUG Events Calendar//EN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user