diff --git a/packages/landingpage/app/not-found.tsx b/packages/landingpage/app/not-found.tsx index ef63403782..46ef9d0130 100644 --- a/packages/landingpage/app/not-found.tsx +++ b/packages/landingpage/app/not-found.tsx @@ -9,6 +9,10 @@ export default function NotFound() { const pathName = usePathname(); useEffect(() => { + if (pathName.endsWith('/')) { + return router.replace(pathName.slice(0, -1)); + } + const [lang] = navigator.language.split('-'); const fallbackLang = getValidLang(lang);