mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
removed dupe version
This commit is contained in:
@@ -44,7 +44,6 @@ apiController.getConfig = function(req, res, next) {
|
||||
config['cache-buster'] = meta.config['cache-buster'] || '';
|
||||
config.requireEmailConfirmation = parseInt(meta.config.requireEmailConfirmation, 10) === 1;
|
||||
config.topicPostSort = meta.config.topicPostSort || 'oldest_to_newest';
|
||||
config.version = pkg.version;
|
||||
|
||||
if (!req.user) {
|
||||
if (res.locals.isAPI) {
|
||||
|
||||
Reference in New Issue
Block a user