This commit is contained in:
Julian Lam
2016-11-10 13:50:37 -05:00
parent 1e543dd394
commit e6c9c89342
6 changed files with 17 additions and 81 deletions

View File

@@ -65,17 +65,9 @@ apiController.getConfig = function (req, res, next) {
config.cookies = {
enabled: parseInt(meta.config.cookieConsentEnabled, 10) === 1,
position: meta.config.cookieConsentPosition || 'bottom',
style: meta.config.cookieConsentStyle || 'edgeless',
message: meta.config.cookieConsentMessage || '[[global:cookies.message]]',
dismiss: meta.config.cookieConsentDismiss || '[[global:cookies.accept]]',
link: meta.config.cookieConsentLink || '[[global:cookies.learn_more]]',
palette: {
background: meta.config.cookieConsentPaletteBackground || '#edeff5',
text: meta.config.cookieConsentPaletteText || '#838391',
button: meta.config.cookieConsentPaletteButton || '#59b3d0',
buttonText: meta.config.cookieConsentPaletteButtonText || '#ffffff',
}
link: meta.config.cookieConsentLink || '[[global:cookies.learn_more]]'
};
async.waterfall([