Permalink
Browse files

Use the domain argument

  • Loading branch information...
1 parent 5da3db1 commit fe234af1e4a45a1d645a4acc13eb59fdd354b436 @petrhosek petrhosek committed Feb 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server.coffee
View
@@ -92,7 +92,7 @@ run = (options) ->
logger.error error.message, error
else
server = http.createServer setup options
- server.listen options.port
+ server.listen options.port, options.domain
serverUrl = "http://#{ options.domain }:#{ options.port }/".bold
logger.info "server running on: #{ serverUrl }"

0 comments on commit fe234af

Please sign in to comment.