Skip to content

Commit

Permalink
use process.env.PORT
Browse files Browse the repository at this point in the history
  • Loading branch information
taiyoh committed Aug 20, 2014
1 parent 9ea760b commit bfe7bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Expand Up @@ -9,7 +9,7 @@ package.options = package.options || {};

io.set('log level', 0);

server.listen(3000);
server.listen(process.env.PORT || 3000);

app.configure(function() {
app.set('view engine', 'jade');
Expand Down

0 comments on commit bfe7bc9

Please sign in to comment.