Skip to content

Node.js based forum software built for the modern web

remove debug

barisusaklida5891bcf607
diff --git a/src/routes/debug.js b/src/routes/debug.js
index 0e4691b4d6..b81938ccc9 100644
--- a/src/routes/debug.js
+++ b/src/routes/debug.js
@@ -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);