This commit is contained in:
Tomas Valenta 2024-02-02 18:59:19 +01:00
parent 48f866296c
commit 4e363f8e9f

View File

@ -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'
}