mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-31 11:52:41 +00:00
Print addr on listening
This commit is contained in:
parent
3b11a118d3
commit
5092b6ea6d
2
app.go
2
app.go
@ -378,7 +378,7 @@ func (app *App) Listen(address interface{}, tlsconfig ...*tls.Config) error {
|
||||
// Print listening message
|
||||
if !isChild() {
|
||||
fmt.Printf(" _______ __\n ____ / ____(_) /_ ___ _____\n_____ / /_ / / __ \\/ _ \\/ ___/\n __ / __/ / / /_/ / __/ /\n /_/ /_/_.___/\\___/_/ v%s\n", Version)
|
||||
fmt.Printf("Started listening on %s\n", addr)
|
||||
fmt.Printf("Started listening on %s\n", ln.Addr().String())
|
||||
}
|
||||
return app.server.Serve(ln)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user