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:
parent
0aad10cb63
commit
27ac668c0b
8
main.go
8
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)
|
||||
|
Loading…
Reference in New Issue
Block a user