mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-10 11:35:34 +00:00
Redirecting /api/help to github
This commit is contained in:
@@ -8,6 +8,11 @@ router.use(function(req, res, next) {
|
|||||||
next(); // make sure we go to the next routes and don't stop here
|
next(); // make sure we go to the next routes and don't stop here
|
||||||
});
|
});
|
||||||
|
|
||||||
|
router.route('/api/help').get(function(req, res) {
|
||||||
|
res.redirect('https://github.com/zoff-music/zoff/blob/master/server/README.md');
|
||||||
|
return;
|
||||||
|
})
|
||||||
|
|
||||||
router.route('/api/frontpages').get(function(req, res) {
|
router.route('/api/frontpages').get(function(req, res) {
|
||||||
db.collection("frontpage_lists").find({frontpage: true, count: {$gt: 0}}, function(err, docs) {
|
db.collection("frontpage_lists").find({frontpage: true, count: {$gt: 0}}, function(err, docs) {
|
||||||
db.collection("connected_users").find({"_id": "total_users"}, function(err, tot) {
|
db.collection("connected_users").find({"_id": "total_users"}, function(err, tot) {
|
||||||
|
|||||||
Reference in New Issue
Block a user