mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 03:51:26 +01:00
return version in config
This commit is contained in:
@@ -44,6 +44,7 @@ var path = require('path'),
|
||||
app.get('/config', function (req, res, next) {
|
||||
var config = require('../../public/config.json');
|
||||
|
||||
config.version = pkg.version;
|
||||
config.postDelay = meta.config.postDelay;
|
||||
config.minimumTitleLength = meta.config.minimumTitleLength;
|
||||
config.maximumTitleLength = meta.config.maximumTitleLength;
|
||||
|
||||
Reference in New Issue
Block a user