diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2025-01-26 00:29:46 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2025-01-26 00:29:46 +0000 |
| commit | dd49c9205bb04844b686b9c3396c40eb49d25826 (patch) | |
| tree | babd1d90a939a7928ef02e9656ddf6ee22104f92 /api/handlers/ical.go | |
| parent | 0d0a02766a59729f61c48f00e71bdae91ed64482 (diff) | |
Add alarms to calendar events
Diffstat (limited to 'api/handlers/ical.go')
| -rw-r--r-- | api/handlers/ical.go | 1 |
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) } } |
