mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 07:10:30 +01:00
remove debug
This commit is contained in:
@@ -57,12 +57,7 @@ module.exports = function(app, middleware, controllers) {
|
||||
});
|
||||
|
||||
router.get('/test', function(req, res) {
|
||||
//res.redirect(404);
|
||||
var messaging = require('../messaging');
|
||||
|
||||
messaging.getRecentChats(1, 0, 9, function(err, data) {
|
||||
res.json(data);
|
||||
})
|
||||
res.redirect(404);
|
||||
});
|
||||
|
||||
app.use(nconf.get('relative_path') + '/debug', router);
|
||||
|
||||
Reference in New Issue
Block a user