|
|
|
@ -4,8 +4,6 @@
|
|
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
const DTP_COMPONENT = { name: 'Sample App CLI', slug: 'webapp-cli' };
|
|
|
|
|
|
|
|
|
|
require('dotenv').config();
|
|
|
|
|
|
|
|
|
|
const path = require('path');
|
|
|
|
@ -22,10 +20,10 @@ const {
|
|
|
|
|
module.rootPath = __dirname;
|
|
|
|
|
module.pkg = require(path.join(module.rootPath, 'package.json'));
|
|
|
|
|
module.config = {
|
|
|
|
|
component: DTP_COMPONENT,
|
|
|
|
|
root: module.rootPath,
|
|
|
|
|
site: require(path.join(module.rootPath, 'config', 'site')),
|
|
|
|
|
http: require(path.join(module.rootPath, 'config', 'http')),
|
|
|
|
|
component: { logId: 'webapp-cli', index: 'webappCli', className: 'SampleAppCli' },
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
module.log = new SiteLog(module, module.config.component);
|
|
|
|
|