From 27ac668c0b52584d1e5d26f616950d4e730d4bc5 Mon Sep 17 00:00:00 2001 From: vx3r Date: Wed, 19 Feb 2020 16:38:16 +0900 Subject: [PATCH] bug sorry --- main.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/main.go b/main.go index 737256a..0f00676 100644 --- a/main.go +++ b/main.go @@ -41,14 +41,6 @@ func main() { } } - // check server.json or create it - _, err = core.ReadServer() - if err != nil { - log.WithFields(log.Fields{ - "err": err, - }).Fatal("failed to ensure server.json exists") - } - if os.Getenv("GIN_MODE") == "debug" { // set gin release debug gin.SetMode(gin.DebugMode)