mirror of
				https://github.com/balkian/go5ears.git
				synced 2025-11-04 09:38:19 +00:00 
			
		
		
		
	Changed port to detect ENV
This commit is contained in:
		@@ -8,6 +8,8 @@ var express = require('express')
 | 
				
			|||||||
, app = module.exports = express();
 | 
					, app = module.exports = express();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					var port = process.env.PORT || 8888;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var parser = new xml2js.Parser();
 | 
					var parser = new xml2js.Parser();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
app.get('/', function(req,res){
 | 
					app.get('/', function(req,res){
 | 
				
			||||||
@@ -83,4 +85,4 @@ app.get('/play', function(req,resp){
 | 
				
			|||||||
    });
 | 
					    });
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
app.listen(8888);
 | 
					app.listen(port);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user