mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
fix: debug return not restored back
This commit is contained in:
@@ -42,8 +42,7 @@ Controller.fetch = async (req, res, next) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return next();
|
return helpers.redirect(res, url.href, false);
|
||||||
// return helpers.redirect(res, result);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user