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 = {
|
this.auth = {
|
||||||
sessionKey: 'default',
|
sessionKey: 'default',
|
||||||
};
|
};
|
||||||
|
this.components = {};
|
||||||
this.details = {
|
this.details = {
|
||||||
description: 'Open-source, decentralized image and video sharing.',
|
description: 'Open-source, decentralized image and video sharing.',
|
||||||
host : 'default',
|
host : 'default',
|
||||||
|
@ -30,10 +31,11 @@ function SiteConfig () {
|
||||||
if (!config) {
|
if (!config) {
|
||||||
return console.log('No site config received.');
|
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.analytics = analytics;
|
||||||
this.assetDefaults = assetDefaults;
|
this.assetDefaults = assetDefaults;
|
||||||
this.auth = auth;
|
this.auth = auth;
|
||||||
|
this.components = components;
|
||||||
this.details = details;
|
this.details = details;
|
||||||
this.publishing = publishing;
|
this.publishing = publishing;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue