lets test perm redirect

This commit is contained in:
Barış Soner Uşaklı
2023-08-16 19:35:23 -04:00
parent 556a1c4891
commit b7920b7ad9

View File

@@ -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) {