1
0
mirror of https://github.com/balkian/go5ears.git synced 2024-11-13 01:32:28 +00:00

Changed port to detect ENV

This commit is contained in:
J.Fernando Sánchez 2012-10-04 23:05:09 +02:00
parent f9b0002462
commit 08e734215e

View File

@ -8,6 +8,8 @@ var express = require('express')
, app = module.exports = express();
var port = process.env.PORT || 8888;
var parser = new xml2js.Parser();
app.get('/', function(req,res){
@ -83,4 +85,4 @@ app.get('/play', function(req,resp){
});
});
app.listen(8888);
app.listen(port);