Browse Source

try to grab PORT as env variable

master
Brett Langdon 13 years ago
parent
commit
7695c70b57
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/index.js

+ 1
- 1
lib/index.js View File

@ -30,4 +30,4 @@ server.get('/', function(req, res){
return res.end(JSON.stringify(answer));
});
server.listen(9000);
server.listen(process.env.PORT || 8080);

Loading…
Cancel
Save