Redirect my James Somerton post as it contains misspelling

This commit is contained in:
Helen Chong 2024-05-31 10:46:33 +08:00
parent 8eff9df6de
commit ae8bf643b9
3 changed files with 4 additions and 1 deletions

View File

@ -13,6 +13,8 @@
<link rel="stylesheet" href="{{'/assets/css/misc.css' | url | safe}}">
<link rel="stylesheet" href="{{'/assets/fonts/noto-sans/noto-sans.css' | url | safe}}">
{# JavaScript #}
<script src="/assets/js/redirect.js"></script>
{# Favicon #}
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png">

View File

@ -9,4 +9,5 @@ const redirectUrl = (oldStr, newStr) => {
}
}
redirectUrl(oldDomain, newDomain);
redirectUrl(oldDomain, newDomain);
redirectUrl('james-somerton-my-vide-', 'james-somerton-my-video-');