Compare commits

..

No commits in common. "845a2d377c133874d1b2badc3d993b6ccb355321" and "8bc4b5a66c2ec21b7dcdfc12ea48f13f808ff11a" have entirely different histories.

3 changed files with 2 additions and 10 deletions

View File

@ -363,10 +363,6 @@ func newHMNCalendar() *ical.Calendar {
version.SetText("1.0")
cal.Props.Set(version)
name := ical.NewProp("X-WR-CALNAME")
name.SetText("Handmade Network")
cal.Props.Set(name)
return cal
}
@ -375,7 +371,6 @@ func emptyCalendarString() []byte {
empty := `BEGIN:VCALENDAR
VERSION:1.0
PRODID:Handmade Network
X-WR-CALNAME:Handmade Network
END:VCALENDAR
`

View File

@ -178,11 +178,11 @@ func BuildCalendarIndex() string {
return Url("/calendar", nil)
}
var RegexCalendarICal = regexp.MustCompile("^/Handmade Network.ical$")
var RegexCalendarICal = regexp.MustCompile("^/calendar.ical$")
func BuildCalendarICal() string {
defer CatchPanic()
return Url("/Handmade Network.ical", nil)
return Url("/calendar.ical", nil)
}
// QUESTION(ben): Can we change these routes?

View File

@ -63,11 +63,8 @@
}
}
icalLink.disabled = false;
if (hasAll) {
icalLink.href = baseICalUrl;
} else if (icalFilter.length == 0) {
icalLink.removeAttribute("href");
} else {
icalFilter.sort();
let url = new URL(baseICalUrl);