aboutsummaryrefslogtreecommitdiffstats
path: root/api/handlers/ical.go
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2025-01-26 00:29:46 +0000
committerLeonardo Bishop <me@leonardobishop.com>2025-01-26 00:29:46 +0000
commitdd49c9205bb04844b686b9c3396c40eb49d25826 (patch)
treebabd1d90a939a7928ef02e9656ddf6ee22104f92 /api/handlers/ical.go
parent0d0a02766a59729f61c48f00e71bdae91ed64482 (diff)
Add alarms to calendar events
Diffstat (limited to 'api/handlers/ical.go')
-rw-r--r--api/handlers/ical.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/handlers/ical.go b/api/handlers/ical.go
index c4b3989..52dfcdb 100644
--- a/api/handlers/ical.go
+++ b/api/handlers/ical.go
@@ -38,6 +38,7 @@ func GetIcal(icalService ical.Service, calendarService calendar.Service) fiber.H
return err
}
+ c.Set("Content-Type", "text/calendar")
return c.SendString(ical)
}
}