diff --git a/player.js b/player.js index dcfd6d6..d92ccfe 100644 --- a/player.js +++ b/player.js @@ -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);