Updated server port

James Peret %!s(int64=8) %!d(string=hace) años
padre
commit
c2b37761d3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
 });