Skip to content

Commit

Permalink
Add redirect for /tag to /tags
Browse files Browse the repository at this point in the history
UVI: #494
  • Loading branch information
dreeves authored May 17, 2024
1 parent 3b5252d commit e27350b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/getRedirects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default async function getRedirects(): Promise<Record<string, string>> {
if (tag.redirect) {
acc[`/tags/${tag.redirect}`] = `/tags/${tag.name}`;
}
acc[`/tag/${tag.name}`] = `/tags/${tag.name}`;
return acc;
}, {});

Expand Down

0 comments on commit e27350b

Please sign in to comment.