This commit is contained in:
WJQSERVER 2025-01-09 00:13:35 +08:00
parent 6f95e1c182
commit 7a57317a8b
6 changed files with 382 additions and 429 deletions

View file

@ -100,6 +100,7 @@ func init() {
if cfg.Server.Debug {
dev = "true"
version = "dev"
}
if dev == "true" {
gin.SetMode(gin.DebugMode)