From dcae2194b1691128ea89400e30f07ff80807031f Mon Sep 17 00:00:00 2001 From: Leonardo Rossi Date: Thu, 25 Jun 2026 17:45:36 +0200 Subject: [PATCH 1/2] Redirect / only in production, not in preview Signed-off-by: Leonardo Rossi --- vercel.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vercel.json b/vercel.json index 8bbf6009dc..0b5d669a78 100644 --- a/vercel.json +++ b/vercel.json @@ -2,6 +2,12 @@ "redirects": [ { "source": "/", + "has": [ + { + "type": "host", + "value": "docs\\.platformatic\\.dev" + } + ], "destination": "https://platformatic.dev/docs/Overview", "permanent": false } From 6cb02116e3ec589142fed5ba80e8b43960e145a2 Mon Sep 17 00:00:00 2001 From: Leonardo Rossi Date: Thu, 25 Jun 2026 17:49:25 +0200 Subject: [PATCH 2/2] testing if it works with relative paths Signed-off-by: Leonardo Rossi --- vercel.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/vercel.json b/vercel.json index 0b5d669a78..0025d7aa65 100644 --- a/vercel.json +++ b/vercel.json @@ -2,13 +2,7 @@ "redirects": [ { "source": "/", - "has": [ - { - "type": "host", - "value": "docs\\.platformatic\\.dev" - } - ], - "destination": "https://platformatic.dev/docs/Overview", + "destination": "/docs/Overview", "permanent": false } ],