From 0b1f28d81aa0db93a80558b15cd9e6e76aa3ae12 Mon Sep 17 00:00:00 2001 From: vivianyentran Date: Wed, 12 Jun 2024 14:24:36 -0700 Subject: [PATCH] fix pricing redirects --- src/middleware.ts | 8 ++++++++ vercel.json | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/src/middleware.ts b/src/middleware.ts index 2c5e7bb676db9..74276f704df2d 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -2973,6 +2973,14 @@ const REDIRECTS: Redirect[] = [ from: '/accounts/pricing/', to: '/pricing/', }, + { + from: '/product/account/pricing/', + to: '/pricing/', + }, + { + from: '/account/pricing/', + to: '/pricing/', + }, { from: '/platforms/dotnet/compatibility/', to: '/platforms/dotnet/', diff --git a/vercel.json b/vercel.json index e61d90af2e9c6..ab92353d0977d 100644 --- a/vercel.json +++ b/vercel.json @@ -121,6 +121,10 @@ "source": "/accounts/(.*)", "destination": "/account/$1" }, + { + "source": "/accounts/pricing/(.*)", + "destination": "/pricing/$1" + }, { "source": "/account/sso/(.*)", "destination": "/organization/authentication/sso/$1"