Update main.go

This commit is contained in:
starry
2024-12-22 23:31:30 +08:00
committed by GitHub
parent aa205772f1
commit d665672dfb

View File

@@ -65,7 +65,7 @@ func main() {
loadConfig()
}
}()
// 前端访问路径,默认根路径
router.Static("/", "./public")
router.NoRoute(handler)