Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Do not ignore the domain option in preview server #85

Merged
merged 1 commit into from

2 participants

@petrhosek

The domain option is no longer ignored by the preview server.

@jnordberg
Owner

Thanks

@jnordberg jnordberg merged commit a09ea42 into jnordberg:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 14, 2013
  1. @petrhosek

    Use the domain argument

    petrhosek authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/server.coffee
View
2  src/server.coffee
@@ -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 }"
Something went wrong with that request. Please try again.