fix: templates

This commit is contained in:
lejianwen 2025-03-04 16:14:34 +08:00
parent 9709da7fb6
commit 9c8822f857
3 changed files with 1 additions and 1 deletions

View File

@ -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")