Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
B77Mills committed Nov 6, 2024
1 parent 57f2ac6 commit 1c934ff
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ module.exports = (app, {
// account for redirecting with all of the queryParams
const newUrl = req.query && Object.keys(req.query).length !== 0
? `${storyURL.pathname}?${new URLSearchParams(req.query).toString()}`
: storyURL.pathname
;
: storyURL.pathname;
res.redirect(301, newUrl);
return;
}
Expand Down

0 comments on commit 1c934ff

Please sign in to comment.