head: fix: 修改静态文件相对路径
This commit is contained in:
parent
fde3f596d7
commit
545140d7b0
@ -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")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user