Skip to content

Node.js based forum software built for the modern web

removed /test route

Julian Lam3918b2923367
diff --git a/src/routes/debug.js b/src/routes/debug.js
index 24f6f8a627..584a70a6b6 100644
--- a/src/routes/debug.js
+++ b/src/routes/debug.js
@@ -56,10 +56,6 @@ module.exports = function(app, middleware, controllers) {
});
router.get('/test', function(req, res) {
- var cluster = require('cluster');
- console.log('answered by worker', cluster.worker.id);
- res.send(200);
- process.exit();
- // res.redirect(404);
+ res.redirect(404);
});
};