diff --git a/app.go b/app.go index 4166410..078e9b0 100644 --- a/app.go +++ b/app.go @@ -410,7 +410,7 @@ func Serve(app *App, r *mux.Router) { }() // Start gopher server - if app.cfg.Server.GopherPort > 0 { + if app.cfg.Server.GopherPort > 0 && !app.cfg.App.Private { go initGopher(app) }