From 14ed77bd7807afc6710f452c846b10d368e88417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Gerhard=20Lindesva=CC=88rd?= Date: Sat, 21 Dec 2024 11:19:35 +0100 Subject: [PATCH] fix(public): register links are broken --- apps/dashboard/src/middleware.ts | 1 - apps/public/app/(content)/articles/[articleSlug]/page.tsx | 2 +- apps/public/components/footer.tsx | 2 +- apps/public/components/hero.tsx | 2 +- apps/public/components/sections/pricing.tsx | 2 +- apps/public/components/sections/stats.tsx | 2 +- 6 files changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/dashboard/src/middleware.ts b/apps/dashboard/src/middleware.ts index fc7c9acb..29e28922 100644 --- a/apps/dashboard/src/middleware.ts +++ b/apps/dashboard/src/middleware.ts @@ -26,7 +26,6 @@ const isPublicRoute = createRouteMatcher([ '/share/overview/:id', '/login(.*)?', '/reset-password(.*)?', - '/register(.*)?', '/sso-callback(.*)?', '/onboarding', ]); diff --git a/apps/public/app/(content)/articles/[articleSlug]/page.tsx b/apps/public/app/(content)/articles/[articleSlug]/page.tsx index 360fca7c..84df7d06 100644 --- a/apps/public/app/(content)/articles/[articleSlug]/page.tsx +++ b/apps/public/app/(content)/articles/[articleSlug]/page.tsx @@ -164,7 +164,7 @@ export default async function Page({ description="Give it a spin for free. No credit card required." /> diff --git a/apps/public/components/footer.tsx b/apps/public/components/footer.tsx index fdf629ea..48acf59c 100644 --- a/apps/public/components/footer.tsx +++ b/apps/public/components/footer.tsx @@ -20,7 +20,7 @@ export function Footer() { description="Simplify your web & product analytics with our user-friendly platform. Collect, analyze, and optimize your data in minutes, for free." /> diff --git a/apps/public/components/hero.tsx b/apps/public/components/hero.tsx index 9cab7c89..630418c9 100644 --- a/apps/public/components/hero.tsx +++ b/apps/public/components/hero.tsx @@ -31,7 +31,7 @@ export function Hero() { {/* CTA */}
diff --git a/apps/public/components/sections/pricing.tsx b/apps/public/components/sections/pricing.tsx index 01db1edf..9c6f7d91 100644 --- a/apps/public/components/sections/pricing.tsx +++ b/apps/public/components/sections/pricing.tsx @@ -53,7 +53,7 @@ export function Pricing() { diff --git a/apps/public/components/sections/stats.tsx b/apps/public/components/sections/stats.tsx index 7637f198..7615bd42 100644 --- a/apps/public/components/sections/stats.tsx +++ b/apps/public/components/sections/stats.tsx @@ -90,7 +90,7 @@ export function StatsPure({

Get the analytics you deserve