Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Fix bad canonical url

Luke Vella934d321f5d2a
diff --git a/apps/landing/src/pages/_app.tsx b/apps/landing/src/pages/_app.tsx
index 64ddf5e65..8e7af1570 100644
--- a/apps/landing/src/pages/_app.tsx
+++ b/apps/landing/src/pages/_app.tsx
@@ -44,7 +44,7 @@ const MyApp: NextPage<AppPropsWithLayout> = ({ Component, pageProps }) => {
}, []);
const canonicalUrl = React.useMemo(() => {
- const path = router.pathname === "/" ? "" : router.pathname;
+ const path = router.asPath === "/" ? "" : router.asPath;
if (router.locale === router.defaultLocale) {
return absoluteUrl(path);
} else {