diff --git a/lib/common.js b/lib/common.js index 8f896b2..42cf8c5 100644 --- a/lib/common.js +++ b/lib/common.js @@ -202,10 +202,12 @@ exports.getConfig = () => { // setup theme config.themeViews = ''; - if(typeof config.theme !== 'undefined' && config.theme !== ''){ - config.themeViews = '../public/themes/' + config.theme + '/'; + if(typeof config.theme === 'undefined' || config.theme === ''){ + config.theme = 'Cloth'; // Default to Cloth theme } + config.themeViews = '../public/themes/' + config.theme + '/'; + // if db set to mongodb override connection with MONGODB_CONNECTION_STRING env var config.databaseConnectionString = process.env.MONGODB_CONNECTION_STRING || config.databaseConnectionString; diff --git a/views/checkout.hbs b/views/checkout.hbs deleted file mode 100644 index 614b069..0000000 --- a/views/checkout.hbs +++ /dev/null @@ -1,5 +0,0 @@ -
-
- {{> cart}} -
-
\ No newline at end of file diff --git a/views/index.hbs b/views/index.hbs deleted file mode 100644 index bd81ff9..0000000 --- a/views/index.hbs +++ /dev/null @@ -1,117 +0,0 @@ -
-
-
- {{#ifCond config.menuEnabled '==' 'true'}} - {{#ifCond config.menuLocation '==' "side"}} -