Skip to content

Commit

Permalink
hostn name configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Feb 15, 2014
1 parent 032dd0a commit 34f17e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starter-kit.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function setApps(listing) {
for(var i=0; i<listing.length; i++) {
var listener = staticServer('./apps/'+listing[i]);
http.createServer(listener).listen(config.firstAppPort+i);
config.apps['http://localhost:'+(config.firstAppPort+i)+'/'] = listing[i];
config.apps['http://'+config.host+':'+(config.firstAppPort+i)+'/'] = listing[i];
}
}

Expand Down

0 comments on commit 34f17e1

Please sign in to comment.