From c7a3ef7d721ccb85c47a764415815ef0e8847184 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 <31820853+zhengkunwang223@users.noreply.github.com> Date: Wed, 7 Jun 2023 16:31:25 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BF=AE=E6=94=B9=20logo=20=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=20(#1279)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/init/router/router.go | 2 +- frontend/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/init/router/router.go b/backend/init/router/router.go index efba28e54..58f49e4d4 100644 --- a/backend/init/router/router.go +++ b/backend/init/router/router.go @@ -18,7 +18,7 @@ import ( ) func setWebStatic(rootRouter *gin.RouterGroup) { - rootRouter.StaticFS("/fav", http.FS(web.Favicon)) + rootRouter.StaticFS("/public", http.FS(web.Favicon)) rootRouter.GET("/assets/*filepath", func(c *gin.Context) { staticServer := http.FileServer(http.FS(web.Assets)) staticServer.ServeHTTP(c.Writer, c.Request) diff --git a/frontend/index.html b/frontend/index.html index 67ed8e048..3941e1ef0 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -2,7 +2,7 @@
- +