mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
closes #5197
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user