Skip to content

Node.js based forum software built for the modern web

removed test route

Baris Soner Usakli6b2be772e760
diff --git a/src/webserver.js b/src/webserver.js
index dd8f3c0b90..d33da8dd4d 100644
--- a/src/webserver.js
+++ b/src/webserver.js
@@ -387,17 +387,6 @@ var express = require('express'),
res.redirect(global.nconf.get('relative_path') + '/404');
}
});
-
- app.get('/test', function(req, res) {
- topics.getUnreadTopics(4, 0, 9, function(data) {
- console.log('ll', data.topics.length);
- topics.getUnreadTopics(4, data.topics.length, data.topics.length + 9, function(data2) {
- var finalData = [data,data2];
- res.json(finalData);
- });
- });
- });
-
});
// These functions are called via ajax once the initial page is loaded to populate templates with data