diff --git a/app/server.go b/app/server.go index f276bc6..5dce881 100644 --- a/app/server.go +++ b/app/server.go @@ -14,8 +14,8 @@ import ( "golang.org/x/time/rate" ) -// SetEchoSettings sets up the main Echo instance and panics on err. -func (a *App) SetEchoSettings() { +// SetServerSettings sets up the main Echo instance and panics on err. +func (a *App) SetServerSettings() { e := a.E() e.HideBanner = true diff --git a/run.go b/run.go index c3e1780..f404660 100644 --- a/run.go +++ b/run.go @@ -211,7 +211,7 @@ func run() error { //nolint:gocognit return err } - a.SetEchoSettings() + a.SetServerSettings() if err = setting.EraseENVs(); err != nil { log.Error("failed to erase PCMT ENVs")