From fac3b421401f0cf7f99f8cc5f8745b55bdbd2a93 Mon Sep 17 00:00:00 2001 From: Fenny <25108519+Fenny@users.noreply.github.com> Date: Wed, 16 Dec 2020 02:45:34 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20v2.3.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: kiyon --- app.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app.go b/app.go index 96b2ae26..2c433599 100644 --- a/app.go +++ b/app.go @@ -33,7 +33,7 @@ import ( ) // Version of current fiber package -const Version = "2.2.5" +const Version = "2.3.0" // Handler defines a function to serve HTTP requests. type Handler = func(*Ctx) error @@ -592,6 +592,10 @@ func (app *App) ListenTLS(addr, certFile, keyFile string) error { if err != nil { return err } + // Print startup message + if !app.config.DisableStartupMessage { + app.startupMessage(ln.Addr().String(), true, "") + } // Start listening return app.server.ServeTLS(ln, certFile, keyFile) }