0
0
mirror of https://github.com/vx3r/wg-gen-web.git synced 2024-12-18 00:13:23 +00:00

bug sorry

This commit is contained in:
vx3r 2020-02-19 16:38:16 +09:00
parent 0aad10cb63
commit 27ac668c0b

View File

@ -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" { if os.Getenv("GIN_MODE") == "debug" {
// set gin release debug // set gin release debug
gin.SetMode(gin.DebugMode) gin.SetMode(gin.DebugMode)