This commit is contained in:
Barış Soner Uşaklı
2018-04-13 17:09:46 -04:00
parent bdd693c989
commit 501d02220c
4 changed files with 6 additions and 2 deletions

View File

@@ -62,6 +62,7 @@ apiController.loadConfig = function (req, callback) {
config.bootswatchSkin = meta.config.bootswatchSkin || 'noskin';
config.defaultBootswatchSkin = meta.config.bootswatchSkin || 'noskin';
config.enablePostHistory = parseInt(meta.config.enablePostHistory || 1, 10) === 1;
config.notificationAlertTimeout = parseInt(meta.config.notificationAlertTimeout, 10) || 5000;
if (config.useOutgoingLinksPage) {
config.outgoingLinksWhitelist = meta.config['outgoingLinks:whitelist'];