Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mlejva committed Jan 3, 2025
1 parent d03e62f commit 3b5bd06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export async function middleware(req: NextRequest): Promise<NextResponse> {
url.hostname = landingPageHostname
}

if (url.pathname.startsWith('/cookbooks')) {
if (url.pathname.startsWith('/cookbook')) {
url.hostname = landingPageHostname
}

Expand Down Expand Up @@ -85,7 +85,7 @@ export const config = {
'/privacy/:path*',
'/terms/:path*',
'/pricing/:path*',
'/cookbooks/:path*',
'/cookbook/:path*',
],
}

0 comments on commit 3b5bd06

Please sign in to comment.