From eab307594fa75d98dec7736661e961557221aa08 Mon Sep 17 00:00:00 2001 From: woon Date: Fri, 10 Mar 2023 15:08:07 +0800 Subject: [PATCH] update --- router.go | 1 + 1 file changed, 1 insertion(+) diff --git a/router.go b/router.go index e4605e5..95459b5 100644 --- a/router.go +++ b/router.go @@ -42,6 +42,7 @@ func Router() *gin.Engine { r.HTMLRender = loadTemplates("./theme/" + themeName + "/tmpl") r.Static("/statics", "./theme/"+themeName+"/statics") + r.StaticFile("/favicon.ico", "/theme/"+themeName+"/favicon.ico") r.GET("/", handler.Index) r.GET("/article/:id", handler.GetArticle)