mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2025-09-15 14:28:34 +08:00
fix: templates
This commit is contained in:
parent
9709da7fb6
commit
9c8822f857
@ -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")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user