added new option to disable post diffs /cc @BenLubar

This commit is contained in:
Julian Lam
2018-03-14 15:23:08 -04:00
parent 6ebfeaade2
commit c1aa46c663
5 changed files with 19 additions and 1 deletions

View File

@@ -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'];