revert 6f637968bdd5dea7f472e5a07517e072ed69715e
All checks were successful
Neutral/pipeline/head This commit looks good

revert Version 1.0.0 - Basic Web Application
This commit is contained in:
2024-12-29 14:53:26 +00:00
parent a9414ff6ce
commit ee556d859e
50 changed files with 6642 additions and 41 deletions

View File

@ -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.