aotrautils-srv 0.0.126 → 0.0.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1.0.0.000 (16/07/2022-16:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (16/07/2022-16:02:21)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4828,7 +4828,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4828
4828
|
|
|
4829
4829
|
|
|
4830
4830
|
|
|
4831
|
-
/*utils SERVER library associated with aotra version : «1.0.0.000 (16/07/2022-16:
|
|
4831
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (16/07/2022-16:02:21)»*/
|
|
4832
4832
|
/*-----------------------------------------------------------------------------*/
|
|
4833
4833
|
|
|
4834
4834
|
|
|
@@ -5097,7 +5097,7 @@ WebsocketImplementation={
|
|
|
5097
5097
|
},
|
|
5098
5098
|
|
|
5099
5099
|
|
|
5100
|
-
getServer:(listenableServer
|
|
5100
|
+
getServer:(listenableServer)=>{
|
|
5101
5101
|
|
|
5102
5102
|
if(!WebsocketImplementation.isNodeContext){
|
|
5103
5103
|
// TRACE
|
|
@@ -5128,8 +5128,6 @@ WebsocketImplementation={
|
|
|
5128
5128
|
serverSocket.disconnect();
|
|
5129
5129
|
});
|
|
5130
5130
|
|
|
5131
|
-
// ////
|
|
5132
|
-
serverSocket.listen(port);
|
|
5133
5131
|
|
|
5134
5132
|
}
|
|
5135
5133
|
|
|
@@ -5796,12 +5794,12 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
|
|
|
5796
5794
|
|
|
5797
5795
|
let listenableServer;
|
|
5798
5796
|
if(sslOptions){
|
|
5799
|
-
let httpsServer=https.createServer(sslOptions, handler)
|
|
5797
|
+
let httpsServer=https.createServer(sslOptions, handler).listen(port);
|
|
5800
5798
|
// TRACE
|
|
5801
5799
|
console.log("INFO : SERVER : HTTPS Server launched and listening on port " + port + "!");
|
|
5802
5800
|
listenableServer=httpsServer;
|
|
5803
5801
|
}else{
|
|
5804
|
-
let httpServer=http.createServer(handler)
|
|
5802
|
+
let httpServer=http.createServer(handler).listen(port);
|
|
5805
5803
|
// TRACE
|
|
5806
5804
|
console.log("INFO : SERVER : HTTP Server launched and listening on port " + port + "!");
|
|
5807
5805
|
listenableServer=httpServer;
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.127",
|
|
4
4
|
"main": "aotrautils-srv.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|