mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 06:07:28 +02:00
lets test perm redirect
This commit is contained in:
@@ -26,7 +26,7 @@ postsController.redirectToPost = async function (req, res, next) {
|
||||
}
|
||||
|
||||
const qs = querystring.stringify(req.query);
|
||||
helpers.redirect(res, qs ? `${path}?${qs}` : path);
|
||||
helpers.redirect(res, qs ? `${path}?${qs}` : path, true);
|
||||
};
|
||||
|
||||
postsController.getRecentPosts = async function (req, res) {
|
||||
|
||||
Reference in New Issue
Block a user