src/server/config-loader.js
/**
 * Loads the configuration file to memory
 *
 * @private
 * @param {string} path Path to configuration file
 */
Loads the configuration file to memory
@private
@param {string} path Path to configuration file
Loads the configuration file to memory @private @param { string } path Path to configuration file
function __loadConfig(path)
{
    let configStr;
    try
    {
        configStr = fs.readFileSync(path, { encoding: "utf8" });
    }
    catch(err)
    {
        configStr = "{}";
    }
    return configStr;
}
function __loadConfig ( path ) { let configStr ; try { configStr = fs . readFileSync ( path , { encoding : "utf8" } ) ; } catch ( err ) { configStr = "{}" ; } return configStr ; }
Loads the configuration file to memory
 @private
 @param {string} path Path to configuration file
Loads the configuration file to memory @private @param { string } path Path to configuration file