📦 v2.3.0

Co-Authored-By: kiyon <kiyon@gofiber.io>
pull/1078/head
Fenny 2020-12-16 02:45:34 +01:00
parent 074e1f9c9c
commit fac3b42140
1 changed files with 5 additions and 1 deletions

6
app.go
View File

@ -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)
}