diff --git a/vercel.json b/vercel.json index 5632a53f4..5626b6a26 100644 --- a/vercel.json +++ b/vercel.json @@ -7,19 +7,17 @@ "redirects": [ { "source": "/", - "destination": "https://www.ory.com/docs", - "has": [ - { - "type": "header", - "key": "host", - "value": "docs-omega-six.vercel.app" - } - ], + "destination": "/docs", "permanent": false }, { "source": "/docs(/|)", - "destination": "https://www.ory.com/docs/welcome", + "destination": "/docs/welcome", + "permanent": false + }, + { + "source": "/docs/:path*", + "destination": "https://www.ory.com/docs/:path", "has": [ { "type": "header", @@ -29,16 +27,6 @@ ], "permanent": false }, - { - "source": "/", - "destination": "/docs", - "permanent": false - }, - { - "source": "/docs(/|)", - "destination": "/docs/welcome", - "permanent": false - }, { "source": "/keto/docs/(|v0.5/)engines", "destination": "https://github.com/ory/keto/blob/v0.7.0-alpha.1/docs/versioned_docs/version-v0.5/engines/index.md",