From 1e5fd2f66e5fc778635e9feac92b8ff509f90a9b Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 19 Jul 2023 00:15:41 +0200 Subject: [PATCH] chore: redirect api path (#6232) * chore: redirect api path * Update vercel.json * Update vercel.json * Update vercel.json --- docs/vercel.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/vercel.json b/docs/vercel.json index b8a5b17120..a42f8c2528 100644 --- a/docs/vercel.json +++ b/docs/vercel.json @@ -15,6 +15,10 @@ } ], "redirects": [ - { "source": "/", "destination": "/docs" } + { "source": "/", "destination": "/docs" }, + { "source": "/docs/apis/mgmt/:slug*", "destination": "/docs/apis/resources/mgmt/:slug*", "permanent": true }, + { "source": "/docs/apis/auth/:slug*", "destination": "/docs/apis/resources/auth/:slug*", "permanent": true }, + { "source": "/docs/apis/system/:slug*", "destination": "/docs/apis/resources/system/:slug*", "permanent": true }, + { "source": "/docs/apis/admin/:slug*", "destination": "/docs/apis/resources/admin/:slug*", "permanent": true } ] }