aotrautils-srv 0.0.163 → 0.0.164

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 (17/07/2022-14:02:08)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (17/07/2022-14:14:39)»*/
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 (17/07/2022-14:02:08)»*/
4831
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-14:14:39)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
 
4834
4834
 
@@ -5807,7 +5807,7 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
5807
5807
  const urlFile="." + url;
5808
5808
 
5809
5809
  let filePath=urlFile.indexOf("?")!==-1?urlFile.split("?")[0]:urlFile;
5810
- if(filePath == "./") filePath="./index.html";
5810
+ if(filePath=="./") filePath="./index.html";
5811
5811
 
5812
5812
  let extname=path.extname(filePath);
5813
5813
  let contentType="text/html";
@@ -5815,7 +5815,7 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
5815
5815
 
5816
5816
  fs.readFile(filePath, function(error, fileContent){
5817
5817
  if(error){
5818
- if(error.code == "ENOENT"){
5818
+ if(error.code=="ENOENT"){
5819
5819
  // TRACE
5820
5820
  console.log("ERROR 404 file not found :"+filePath);
5821
5821
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.163",
3
+ "version": "0.0.164",
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)",