ai优化,删除未使用代码,提取重复代码。

This commit is contained in:
2026-08-12 11:12:23 +08:00
parent 043bf8773b
commit 60869ec214
10 changed files with 108 additions and 201 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func main() {
routers.SetupTemplates(r, theme)
// 配置所有路由
routers.SetupRoutes(r, cfg)
routers.SetupRoutes(r)
// 启动服务器
port := routers.GetServerPort(cfg.Server.Port)