Skip to content

Commit

Permalink
Use process.env['app_port'] for nodester
Browse files Browse the repository at this point in the history
  • Loading branch information
josher19 committed May 31, 2012
1 parent 4ad7654 commit f8498db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"github":{"auth":""},"couch":{"user":"","pass":""},"irc":{"user":"LiveBot","pass":""}}
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ var shownStuff = 'This is jhbot. I only talk in IRC, not here.';
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end(shownStuff);
}).listen(8000);
}).listen(process.env['app_port'] || 8000);
require('./bot');

0 comments on commit f8498db

Please sign in to comment.