mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
added new option to disable post diffs /cc @BenLubar
This commit is contained in:
@@ -61,6 +61,7 @@ apiController.loadConfig = function (req, callback) {
|
||||
config.searchEnabled = plugins.hasListeners('filter:search.query');
|
||||
config.bootswatchSkin = meta.config.bootswatchSkin || 'noskin';
|
||||
config.defaultBootswatchSkin = meta.config.bootswatchSkin || 'noskin';
|
||||
config.enablePostHistory = parseInt(meta.config.enablePostHistory || 1, 10) === 1;
|
||||
|
||||
if (config.useOutgoingLinksPage) {
|
||||
config.outgoingLinksWhitelist = meta.config['outgoingLinks:whitelist'];
|
||||
|
||||
Reference in New Issue
Block a user