From 1f6dccb570e3ad6c087450b069566f5d567baf89 Mon Sep 17 00:00:00 2001 From: Bojan Rajh Date: Fri, 25 Oct 2024 09:37:33 +0200 Subject: [PATCH] feat: add versioned redirect for the current version --- vercel.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vercel.json b/vercel.json index fc0f01b5..e570fee6 100644 --- a/vercel.json +++ b/vercel.json @@ -24,6 +24,11 @@ "destination": "/docs/:url", "statusCode": 301 }, + { + "source": "/docs/v6.6/:url*", + "destination": "/docs/:url", + "statusCode": 301 + }, { "source": "/docs/v6.5/:url(^(?!.*\\.).*[^/]$)", "destination": "/docs/v6.5/:url.html",