Skip to content

Commit

Permalink
redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
jessiemongeon1 committed Feb 20, 2025
1 parent 7fc6ef3 commit 6286eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/utils/redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ const redirects = `
// Remove trailing slashes from the 'from' URL
let from = rule[0].replace(/(.+)\/$/, "$1");
// Replace '/docs/current/' with '/docs/' in the 'from' URL
from = from.replace('/docs/current/', '/docs/');
from = from.replace('/docs/current/motoko', '/docs/motoko');
const to = rule[1];
return {
from,
Expand Down

0 comments on commit 6286eb5

Please sign in to comment.