mirror of
https://github.com/yudai/gotty.git
synced 2025-09-21 21:40:49 +02:00
Show command in log
This commit is contained in:
parent
c1ccfdd859
commit
8f95182392
2 changed files with 5 additions and 1 deletions
|
@ -107,7 +107,7 @@ func (server *Server) Run(ctx context.Context, options ...RunOption) error {
|
|||
return errors.Wrapf(err, "failed to setup an HTTP server")
|
||||
}
|
||||
|
||||
log.Printf("GoTTY server is starting at: %s", url.String())
|
||||
log.Printf("HTTP server is listening at: %s", url.String())
|
||||
if server.options.Address == "0.0.0.0" {
|
||||
for _, address := range listAddresses() {
|
||||
log.Printf("Alternative URL: %s", server.setupURL(address, path).String())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue