disable gin debug mode and optimise

This commit is contained in:
nikk gitanes
2023-02-16 01:48:03 +03:00
parent 1897f0e90f
commit 3fe8d58faa
5 changed files with 11 additions and 11 deletions

View File

@@ -40,7 +40,7 @@ func Start(port string) {
}
rutor.Start()
//gin.SetMode(gin.ReleaseMode)
gin.SetMode(gin.ReleaseMode)
//corsCfg := cors.DefaultConfig()
//corsCfg.AllowAllOrigins = true