From dacffba1ffcae0ed6850fcc451b190e141821f3f Mon Sep 17 00:00:00 2001 From: David Luzar <5153846+dwelle@users.noreply.github.com> Date: Wed, 6 Nov 2024 17:31:13 +0100 Subject: [PATCH] feat: redirect without trailing slash (#630) --- vercel.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/vercel.json b/vercel.json index 0cefaa2c..d6e476d7 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,16 @@ { + "cleanUrls": true, "redirects": [ + { + "source": "/", + "destination": "https://plus.excalidraw.com/blog", + "permanent": true + }, + { + "source": "/(.*)/", + "destination": "https://plus.excalidraw.com/blog/$1", + "permanent": true + }, { "source": "/(.*)", "destination": "https://plus.excalidraw.com/blog/$1",