mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-29 14:17:29 +02:00
closes #951
This commit is contained in:
@@ -252,8 +252,11 @@ var nconf = require('nconf'),
|
||||
app.namespace('/api/admin', function () {
|
||||
|
||||
app.get('/index', function (req, res) {
|
||||
|
||||
res.json({
|
||||
version: pkg.version,
|
||||
emailerInstalled: plugins.hasListeners('action:email.send'),
|
||||
searchInstalled: plugins.hasListeners('filter:search.query')
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user