Version 1.0.0 - Basic Web Application

This commit is contained in:
2024-12-29 15:18:12 +01:00
parent 0ffcafdf3f
commit 6f637968bd
50 changed files with 42 additions and 6643 deletions

View File

@ -20,13 +20,12 @@ 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 || '3001');
var port = normalizePort(process.env.PORT || '5005');
app.set('port', port);
/**
@ -34,7 +33,6 @@ app.set('port', port);
*/
var server = http.createServer(app);
serverIO.serverIO(server)
/**
* Listen on provided port, on all network interfaces.