Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix typo
Vasek Mlejnsky3b5bd069a2fe
diff --git a/apps/web/src/middleware.ts b/apps/web/src/middleware.tsindex 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<NextResponse> {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*',],}