mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 01:56:12 +01:00
missing nconf require
This commit is contained in:
@@ -234,8 +234,7 @@ Controllers.outgoing = function(req, res, next) {
|
||||
if (url) {
|
||||
res.render('outgoing', data);
|
||||
} else {
|
||||
res.status(404);
|
||||
res.redirect(nconf.get('relative_path') + '/404');
|
||||
res.status(404).redirect(nconf.get('relative_path') + '/404');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user