mirror of https://github.com/gofiber/fiber.git
parent
074e1f9c9c
commit
fac3b42140
6
app.go
6
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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue