From 3b5bd069a2fe0f14f9ae9dcf4cfb0abb562e20b3 Mon Sep 17 00:00:00 2001 From: Vasek Mlejnsky Date: Fri, 3 Jan 2025 09:48:19 -0800 Subject: [PATCH] Fix typo --- apps/web/src/middleware.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/middleware.ts b/apps/web/src/middleware.ts index 9ebc9ed5e..4da0ab6e2 100644 --- a/apps/web/src/middleware.ts +++ b/apps/web/src/middleware.ts @@ -35,7 +35,7 @@ export async function middleware(req: NextRequest): Promise { url.hostname = landingPageHostname } - if (url.pathname.startsWith('/cookbooks')) { + if (url.pathname.startsWith('/cookbook')) { url.hostname = landingPageHostname } @@ -85,7 +85,7 @@ export const config = { '/privacy/:path*', '/terms/:path*', '/pricing/:path*', - '/cookbooks/:path*', + '/cookbook/:path*', ], }