update
This commit is contained in:
2
main.go
2
main.go
@@ -18,7 +18,6 @@ import (
|
||||
// @title 个人博客系统API
|
||||
// @version 1.0
|
||||
// @description 基于Go语言的可定制主题博客系统
|
||||
const templatePath = "./templates/*"
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -60,7 +59,6 @@ func main() {
|
||||
gin.SetMode(gin.ReleaseMode)
|
||||
}
|
||||
router := gin.Default()
|
||||
router.LoadHTMLGlob(templatePath)
|
||||
themeManager.RegisterStaticRoutes(router)
|
||||
|
||||
// 6. 注册中间件
|
||||
|
||||
Reference in New Issue
Block a user