mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-22 16:30:34 +01:00
removed test route
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user