This commit is contained in:
barisusakli
2014-05-22 14:41:11 -04:00
parent 746df87d89
commit fa1275c03a
3 changed files with 5 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ apiController.getConfig = function(req, res, next) {
config.disableSocialButtons = parseInt(meta.config.disableSocialButtons, 10) === 1;
config.maxReconnectionAttempts = meta.config.maxReconnectionAttempts || 5;
config.reconnectionDelay = meta.config.reconnectionDelay || 200;
config.tagsPerTopic = meta.config.tagsPerTopic || 5;
config.topicsPerPage = meta.config.topicsPerPage || 20;
config.postsPerPage = meta.config.postsPerPage || 20;
config.maximumFileSize = meta.config.maximumFileSize;