From 6595acb5d4bd62190b60f8fb3291edd507b21504 Mon Sep 17 00:00:00 2001 From: YuleiLan Date: Thu, 15 Apr 2021 18:13:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=9D=99=E6=80=81?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E8=B7=AF=E5=BE=84=E9=97=AE=E9=A2=98=E3=80=82?= 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 2ac5c61..dfd4e0a 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", "./template/web/static") + r.Static("/static", "./static") g.LoadHTMLGlob("template/web/index.html") }