added components to site config

This commit is contained in:
bill bittner 2018-03-20 09:33:48 -07:00
parent 9bb38b78c2
commit 57ec269532

View file

@ -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;
};