From 6286eb5fd282ba94c5ec735476575858bd63e121 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon Date: Thu, 20 Feb 2025 16:24:39 -0600 Subject: [PATCH] redirects --- plugins/utils/redirects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/utils/redirects.js b/plugins/utils/redirects.js index 80ff7c5179..8769c1c29a 100644 --- a/plugins/utils/redirects.js +++ b/plugins/utils/redirects.js @@ -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,