Skip to content

Commit

Permalink
fix: show correct app URL in terminal (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
nongaap authored and gr2m committed Oct 7, 2016
1 parent e4ab063 commit 15546d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/hapi-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ function getHapiOptions (options) {

if (options.url) {
hapiOptions.connection.host = url.parse(options.url).hostname
} else {
hapiOptions.connection.host = 'localhost'
}

return hapiOptions
Expand Down

0 comments on commit 15546d5

Please sign in to comment.