diff --git a/app.go b/app.go index 444d845..c50d0db 100644 --- a/app.go +++ b/app.go @@ -146,7 +146,7 @@ func Serve() { log.Error("Unable to configure: %v", err) os.Exit(1) } - if d != nil { + if d.User != nil { app.cfg = d.Config connectToDatabase(app) defer shutdown(app)