From b7920b7ad9049dd5a8eca6607c689b64856f995a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 16 Aug 2023 19:35:23 -0400 Subject: [PATCH] lets test perm redirect --- src/controllers/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/posts.js b/src/controllers/posts.js index 128fdc130a..7865ba0af7 100644 --- a/src/controllers/posts.js +++ b/src/controllers/posts.js @@ -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) {