return version in config

v1.18.x
Baris Soner Usakli 11 years ago
parent 3958ee4120
commit f4d23fe5df

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

Loading…
Cancel
Save