revert 6f637968bd
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Neutral/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Neutral/pipeline/head This commit looks good
				
			revert Version 1.0.0 - Basic Web Application
This commit is contained in:
		
							
								
								
									
										4
									
								
								bin/www
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								bin/www
									
									
									
									
									
								
							@@ -20,12 +20,13 @@ wlog.step.init("start_server",  "Démarrage du serveur Express JS")
 | 
			
		||||
var app = require('../main');
 | 
			
		||||
var http = require('http');
 | 
			
		||||
var config = require("./config")
 | 
			
		||||
var serverIO = require("./servers")
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Get port from environment and store in Express.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
var port = normalizePort(process.env.PORT || '5005');
 | 
			
		||||
var port = normalizePort(process.env.PORT || '3001');
 | 
			
		||||
app.set('port', port);
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
@@ -33,6 +34,7 @@ app.set('port', port);
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
var server = http.createServer(app);
 | 
			
		||||
serverIO.serverIO(server)
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Listen on provided port, on all network interfaces.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user