1
1
mirror of https://github.com/vx3r/wg-gen-web.git synced 2024-11-22 02:31:57 +01:00

bug sorry

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

@ -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)