Skip to content

Commit

Permalink
report any host as localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Jun 25, 2019
1 parent 3a417f5 commit 7a2a1cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class ConnectApp
if err
@log "Error on starting server: #{err}"
else
@log "#{@name} started http#{if @https then 's' else ''}://#{@host}:#{@port}"
@log "#{@name} started http#{if @https then 's' else ''}://#{if @host == '0.0.0.0' then 'localhost' else @host}:#{@port}"

stoped = false
sockets = []
Expand Down

0 comments on commit 7a2a1cc

Please sign in to comment.