From 76ca7f2adad640390b07f64ae942c8bcdb6ad702 Mon Sep 17 00:00:00 2001 From: Allo Date: Tue, 7 Feb 2023 19:08:06 +0800 Subject: [PATCH] fix: correct target --- content/redirect.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/redirect.ts b/content/redirect.ts index acd00eff496d..76d06a03d694 100644 --- a/content/redirect.ts +++ b/content/redirect.ts @@ -155,7 +155,7 @@ function fixRedirectsCase(oldPairs: Pairs, caseChangedTargets: string[]) { ); const newPairs = oldPairs.map(([from, to]): Pair => { const target = newTargets.get(to.toLowerCase()) ?? to; - return [from, to]; + return [from, target]; }); return newPairs; }