️ pprof 性能调优 / 计划任务支持秒级

This commit is contained in:
naiba
2021-09-29 19:58:02 +08:00
parent 1f1e0b6db7
commit 47dfa4777b
22 changed files with 149 additions and 105 deletions

View File

@@ -112,7 +112,7 @@ func ServeWeb(port uint) *http.Server {
},
})
r.Static("/static", "resource/static")
r.LoadHTMLGlob("resource/template/**/*")
r.LoadHTMLGlob("resource/template/**/*.html")
routers(r)
page404 := func(c *gin.Context) {