Updated server port

James Peret 7 years ago
parent
commit
c2b37761d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server.js

+ 1 - 1
server.js

@@ -46,6 +46,6 @@ io.on('connection', function(socket){
46 46
 
47 47
 });
48 48
 
49
-http.listen(3000, function(){
49
+http.listen(process.env.PORT, function(){
50 50
   console.log('listening on *:3000');
51 51
 });