fix: templates

This commit is contained in:
lejianwen
2025-03-04 16:14:34 +08:00
parent 8b951065ce
commit c10d132b3c
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")