From 8f1aae0bc83f00d7c93eb9e84d486bfe2331daa9 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Sat, 8 Jan 2022 15:05:36 +0800 Subject: [PATCH] update --- calendar/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/service.go b/calendar/service.go index ca4aa9d..17a882d 100644 --- a/calendar/service.go +++ b/calendar/service.go @@ -48,6 +48,7 @@ func (srv Service) Load() error { if err != nil { panic(err) } + c.Header("Content-Type", "text/calendar; charset=utf-8") c.String(200, ics) })