commit
f1dddead46
@ -35,7 +35,7 @@ func InitSysRouter(r *gin.Engine, authMiddleware *jwtauth.GinJWTMiddleware) *gin
|
|||||||
}
|
}
|
||||||
|
|
||||||
func sysStaticFileRouter(r *gin.RouterGroup, g *gin.Engine) {
|
func sysStaticFileRouter(r *gin.RouterGroup, g *gin.Engine) {
|
||||||
r.Static("/static", "./template/web/static")
|
r.Static("/static", "./static")
|
||||||
g.LoadHTMLGlob("template/web/index.html")
|
g.LoadHTMLGlob("template/web/index.html")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user