mirror of https://github.com/gofiber/fiber.git
bound made msg clearer
parent
f25c667a8a
commit
0da74f62f3
2
app.go
2
app.go
|
@ -901,7 +901,7 @@ func (app *App) startupMessage(addr string, tls bool, pids string) {
|
||||||
if host == "0.0.0.0" {
|
if host == "0.0.0.0" {
|
||||||
mainLogo +=
|
mainLogo +=
|
||||||
" │ "+center(fmt.Sprintf("%s://127.0.0.1:%s", scheme, port), 49)+ " │\n" +
|
" │ "+center(fmt.Sprintf("%s://127.0.0.1:%s", scheme, port), 49)+ " │\n" +
|
||||||
" │ "+center(fmt.Sprintf("bound %s://0.0.0.0:%s", scheme, port), 49)+ " │\n"
|
" │ "+center(fmt.Sprintf("(bound on host 0.0.0.0 and port %s)", port), 49)+ " │\n"
|
||||||
} else {
|
} else {
|
||||||
mainLogo +=
|
mainLogo +=
|
||||||
" │ "+center(fmt.Sprintf("%s://%s:%s", scheme, host, port), 49)+ " │\n"
|
" │ "+center(fmt.Sprintf("%s://%s:%s", scheme, host, port), 49)+ " │\n"
|
||||||
|
|
Loading…
Reference in New Issue