mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 07:55:46 +01:00
added api route for 403
This commit is contained in:
@@ -210,5 +210,9 @@ var user = require('./../user.js'),
|
|||||||
app.get('/api/404', function(req, res) {
|
app.get('/api/404', function(req, res) {
|
||||||
res.json({});
|
res.json({});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.get('/api/403', function(req, res) {
|
||||||
|
res.json({});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}(exports));
|
}(exports));
|
||||||
|
|||||||
Reference in New Issue
Block a user