From 545140d7b07f7d36d94d2cd3979e9e4bbfa546d5 Mon Sep 17 00:00:00 2001 From: zhouzhibo Date: Tue, 13 Apr 2021 09:08:20 +0800 Subject: [PATCH] =?UTF-8?q?head:=20fix:=20=E4=BF=AE=E6=94=B9=E9=9D=99?= =?UTF-8?q?=E6=80=81=E6=96=87=E4=BB=B6=E7=9B=B8=E5=AF=B9=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- router/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/router.go b/router/router.go index dfd4e0a..2ac5c61 100644 --- a/router/router.go +++ b/router/router.go @@ -35,7 +35,7 @@ func InitSysRouter(r *gin.Engine, authMiddleware *jwtauth.GinJWTMiddleware) *gin } func sysStaticFileRouter(r *gin.RouterGroup, g *gin.Engine) { - r.Static("/static", "./static") + r.Static("/static", "./template/web/static") g.LoadHTMLGlob("template/web/index.html") }