From e6fcdaf94ca5d5250bbf2e8e6fabb9b3f49cf1ff Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Fri, 31 May 2024 22:58:50 +0800 Subject: [PATCH] Fix redirect for my James Somerton blog post from Neocities --- src/assets/js/redirect.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/assets/js/redirect.js b/src/assets/js/redirect.js index 781ca823..55639f70 100644 --- a/src/assets/js/redirect.js +++ b/src/assets/js/redirect.js @@ -10,4 +10,8 @@ const redirectUrl = (oldStr, newStr) => { } redirectUrl(oldDomain, newDomain); +redirectUrl( + 'leilukin.neocities.org/blog/posts/2024-05-14-james-somerton-my-vide-', + 'leilukin.com/blog/posts/2024-05-14-james-somerton-my-video-' +); redirectUrl('james-somerton-my-vide-', 'james-somerton-my-video-'); \ No newline at end of file