rittenhop-dev/versions/5.94.2/node_modules/@tryghost/config/lib/config.js
2024-09-23 19:40:12 -04:00

18 lines
320 B
JavaScript

const getConfig = require('./GhostConfig');
let config;
function initConfig() {
if (!config) {
config = getConfig();
}
return config;
}
/**
* @description Initialise nconf config object.
*
* The config object is cached, once it has been setup with the parent
*/
module.exports = initConfig();