fix: templates
This commit is contained in:
@@ -19,7 +19,7 @@ func ApiInit(g *gin.Engine) {
|
||||
g.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler, ginSwagger.InstanceName("api")))
|
||||
}
|
||||
// 加载 HTML 模板
|
||||
g.LoadHTMLGlob("http/templates/*")
|
||||
g.LoadHTMLGlob("resources/templates/*")
|
||||
|
||||
frg := g.Group("/api")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user