From 400d7e6db832e85ffb99d07a21644eaf87ec9b1b Mon Sep 17 00:00:00 2001 From: zhangchenhao Date: Fri, 9 May 2025 11:12:17 +0800 Subject: [PATCH] icon --- backend/route/route.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/route/route.go b/backend/route/route.go index 49977e3..503d284 100644 --- a/backend/route/route.go +++ b/backend/route/route.go @@ -76,7 +76,7 @@ func Register(r *gin.Engine) { r.StaticFS("/auto-deploy/static", http.Dir("./frontend/static")) // 静态资源路径 // 返回 favicon.ico r.GET("/favicon.ico", func(c *gin.Context) { - c.File("./static/favicon.ico") + c.File("./frontend/favicon.ico") }) // 3. 前端路由托管:匹配所有其他路由并返回 index.html