From 4ae06ba6e88b3c3fe9d1eb97feae9df8af80bd27 Mon Sep 17 00:00:00 2001 From: vivianyentran <20403606+vivianyentran@users.noreply.github.com> Date: Thu, 13 Jun 2024 04:49:53 -0700 Subject: [PATCH] fix pricing redirects (#10384) --- src/middleware.ts | 4 ++++ vercel.json | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/src/middleware.ts b/src/middleware.ts index 2c5e7bb676db9..5d31439ab273e 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -2973,6 +2973,10 @@ const REDIRECTS: Redirect[] = [ from: '/accounts/pricing/', to: '/pricing/', }, + { + from: '/product/account/pricing/', + to: '/pricing/', + }, { from: '/platforms/dotnet/compatibility/', to: '/platforms/dotnet/', diff --git a/vercel.json b/vercel.json index e61d90af2e9c6..091407258cba3 100644 --- a/vercel.json +++ b/vercel.json @@ -121,6 +121,14 @@ "source": "/accounts/(.*)", "destination": "/account/$1" }, + { + "source": "/accounts/pricing/(.*)", + "destination": "/pricing/$1" + }, + { + "source": "/account/pricing/(.*)", + "destination": "/pricing/$1" + }, { "source": "/account/sso/(.*)", "destination": "/organization/authentication/sso/$1"