diff --git a/src/lib/docs-routing.test.ts b/src/lib/docs-routing.test.ts index fa51820b..d9363ce4 100644 --- a/src/lib/docs-routing.test.ts +++ b/src/lib/docs-routing.test.ts @@ -106,6 +106,8 @@ describe('docs routing redirects', () => { ['/tools', '/docs/tools'], ['/tools/:path*', '/docs/tools/:path*'], ['/partners', '/docs/partners'], + ['/developers/:section(guide|protocol)/:path*', '/developers/docs/:section/:path*'], + ['/developers/learn', '/developers/docs'], ['/api', '/docs/api'], ['/api/authentication', '/docs/api/authentication'], ['/api/conventions', '/docs/api/conventions'], diff --git a/vercel.json b/vercel.json index ae73a14d..b3a88941 100644 --- a/vercel.json +++ b/vercel.json @@ -230,6 +230,16 @@ "destination": "https://accounts.tempo.xyz/:path*", "permanent": true }, + { + "source": "/developers/:section(guide|protocol)/:path*", + "destination": "/developers/docs/:section/:path*", + "permanent": true + }, + { + "source": "/developers/learn", + "destination": "/developers/docs", + "permanent": true + }, { "source": "/api", "destination": "/docs/api",