|
|
|
@ -29,8 +29,8 @@ apiController.getConfig = function (req, res, next) {
|
|
|
|
|
config.maximumTitleLength = meta.config.maximumTitleLength;
|
|
|
|
|
config.minimumPostLength = meta.config.minimumPostLength;
|
|
|
|
|
config.maximumPostLength = meta.config.maximumPostLength;
|
|
|
|
|
config.minimumTagsPerTopic = meta.config.minimumTagsPerTopic || 0;
|
|
|
|
|
config.maximumTagsPerTopic = meta.config.maximumTagsPerTopic || 5;
|
|
|
|
|
config.minimumTagsPerTopic = parseInt(meta.config.minimumTagsPerTopic || 0, 10);
|
|
|
|
|
config.maximumTagsPerTopic = parseInt(meta.config.maximumTagsPerTopic || 5, 10);
|
|
|
|
|
config.minimumTagLength = meta.config.minimumTagLength || 3;
|
|
|
|
|
config.maximumTagLength = meta.config.maximumTagLength || 15;
|
|
|
|
|
config.hasImageUploadPlugin = plugins.hasListeners('filter:uploadImage');
|
|
|
|
|