mirror of
https://github.com/balkian/go5ears.git
synced 2024-12-22 17:38:11 +00:00
Changed port to detect ENV
This commit is contained in:
parent
f9b0002462
commit
08e734215e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user