chore: redirect api path (#6232)

* chore: redirect api path

* Update vercel.json

* Update vercel.json

* Update vercel.json
This commit is contained in:
Florian Forster 2023-07-19 00:15:41 +02:00 committed by GitHub
parent ffb587f9ee
commit 1e5fd2f66e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,10 @@
} }
], ],
"redirects": [ "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 }
] ]
} }