added components to site config
This commit is contained in:
parent
9bb38b78c2
commit
57ec269532
1 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,7 @@ function SiteConfig () {
|
|||
this.auth = {
|
||||
sessionKey: 'default',
|
||||
};
|
||||
this.components = {};
|
||||
this.details = {
|
||||
description: 'Open-source, decentralized image and video sharing.',
|
||||
host : 'default',
|
||||
|
@ -30,10 +31,11 @@ function SiteConfig () {
|
|||
if (!config) {
|
||||
return console.log('No site config received.');
|
||||
}
|
||||
const { analytics, assetDefaults, auth, details, publishing } = config;
|
||||
const { analytics, assetDefaults, auth, components, details, publishing } = config;
|
||||
this.analytics = analytics;
|
||||
this.assetDefaults = assetDefaults;
|
||||
this.auth = auth;
|
||||
this.components = components;
|
||||
this.details = details;
|
||||
this.publishing = publishing;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue