Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Cleanup

Tomas Valenta4e363f8e9faa
diff --git a/apps/reverse-proxy/middleware.ts b/apps/reverse-proxy/middleware.ts
index c81c2f8c2..85542399d 100644
--- a/apps/reverse-proxy/middleware.ts
+++ b/apps/reverse-proxy/middleware.ts
@@ -13,11 +13,11 @@ export async function middleware(req: NextRequest): Promise<NextResponse> {
url.hostname = 'e2b-landing-page.framer.website'
}
- if (url.pathname.startsWith('/terms') || url.pathname.startsWith('/terms/')) {
+ if (url.pathname.startsWith('/terms')) {
url.hostname = 'e2b-landing-page.framer.website'
}
- if (url.pathname.startsWith('/privacy') || url.pathname.startsWith('/privacy/')) {
+ if (url.pathname.startsWith('/privacy')) {
url.hostname = 'e2b-landing-page.framer.website'
}