mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
minor for #2175
This commit is contained in:
parent
1f2215b80b
commit
ead6bba1bb
|
@ -76,24 +76,17 @@ func WriteStartupLogOnServe(w io.Writer) func(TaskHost) {
|
||||||
listeningURI = "> Local: " + listeningURI
|
listeningURI = "> Local: " + listeningURI
|
||||||
}
|
}
|
||||||
listeningURIs = append(listeningURIs, listeningURI)
|
listeningURIs = append(listeningURIs, listeningURI)
|
||||||
|
|
||||||
_, _ = fmt.Fprintf(w, "Now listening on: %s\nApplication started. Press CTRL+C to shut down.\n",
|
|
||||||
strings.Join(listeningURIs, "\n"))
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
When :8080 or 0.0.0.0:8080:
|
|
||||||
Now listening on:
|
Now listening on:
|
||||||
> Network: http://192.168.1.109:8080
|
> Network: http://192.168.1.109:8080
|
||||||
> Network: http://172.25.224.1:8080
|
> Network: http://172.25.224.1:8080
|
||||||
> Local: http://localhost:8080
|
> Local: http://localhost:8080
|
||||||
Application started. Press CTRL+C to shut down.
|
|
||||||
|
|
||||||
Otherwise:
|
Otherwise:
|
||||||
Iris Version: 12.2.1
|
|
||||||
|
|
||||||
Now listening on: http://192.168.1.109:8080
|
Now listening on: http://192.168.1.109:8080
|
||||||
Application started. Press CTRL+C to shut down.
|
|
||||||
*/
|
*/
|
||||||
|
_, _ = fmt.Fprintf(w, "Now listening on: %s\nApplication started. Press CTRL+C to shut down.\n",
|
||||||
|
strings.Join(listeningURIs, "\n"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user