Skip to content

Commit

Permalink
Merge pull request #266 from mojavelinux/report-any-host-as-localhost
Browse files Browse the repository at this point in the history
report any host as localhost
  • Loading branch information
avevlad authored Jun 5, 2023
2 parents 31f4ea4 + 7a2a1cc commit cc93e3a
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 cc93e3a

Please sign in to comment.