From 73a61260b788435ff4215928012c0c3a4e92e0fb Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Sat, 8 Jan 2022 14:36:23 +0800 Subject: [PATCH] update --- calendar/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/service.go b/calendar/service.go index 4a9af48..31030c1 100644 --- a/calendar/service.go +++ b/calendar/service.go @@ -40,7 +40,7 @@ func (srv Service) Load() error { calApi.DELETE("", ApiCalDelete) //+-30day - calApi.GET("ics/:cid", func(c *gin.Context) { + server.Server.GET("ics/:cid", func(c *gin.Context) { cid := c.Param("cid") ics, err := ICS(cid, time.Now().Add(time.Hour*-720),