diff --git a/docs.json b/docs.json index 05e9a2b..4d2b75c 100644 --- a/docs.json +++ b/docs.json @@ -270,11 +270,11 @@ "redirects": [ { "source": "/cerebrium/:slug*", - "destination": "/docs/:slug*" + "destination": "/:slug*" }, { "source": "/docs/cerebrium/:slug*", - "destination": "/docs/:slug*" + "destination": "/:slug*" } ], "integrations": { diff --git a/vercel.json b/vercel.json index 2734dfd..f31c9d3 100644 --- a/vercel.json +++ b/vercel.json @@ -6,13 +6,23 @@ "permanent": true }, { - "source": "/cerebrium/:path*", - "destination": "/docs/:path*", + "source": "/cerebrium", + "destination": "/docs", + "permanent": true + }, + { + "source": "/cerebrium/:path(.*)", + "destination": "/docs/:path", + "permanent": true + }, + { + "source": "/docs/cerebrium", + "destination": "/docs", "permanent": true }, { - "source": "/docs/cerebrium/:path*", - "destination": "/docs/:path*", + "source": "/docs/cerebrium/:path(.*)", + "destination": "/docs/:path", "permanent": true } ],