Skip to content

Commit

Permalink
Get hostname from options.host (#167) (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeSam authored and justinmchase committed Oct 30, 2017
1 parent 6ca1ac6 commit 366e4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.coffee
Expand Up @@ -65,7 +65,7 @@ class ConnectApp
@server = http.createServer @app
if @serverInit
@serverInit @server
@server.listen @port, (err) =>
@server.listen @port, @host, (err) =>
if err
@log "Error on starting server: #{err}"
else
Expand Down

0 comments on commit 366e4f6

Please sign in to comment.