From c3fa9524ea4280f3fd20de42692128e12b405e0e Mon Sep 17 00:00:00 2001 From: codecalm Date: Mon, 24 Nov 2025 23:14:11 +0100 Subject: [PATCH] Remove old vercel.json configuration and migrate redirects to docs/vercel.json --- docs/vercel.json | 8 ++++++++ vercel.json | 10 ---------- 2 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 vercel.json diff --git a/docs/vercel.json b/docs/vercel.json index 3c4ddefdd..840537ea1 100644 --- a/docs/vercel.json +++ b/docs/vercel.json @@ -1,5 +1,12 @@ { "trailingSlash": false, + "redirects": [ + { + "source": "/", + "destination": "/ui", + "permanent": false + } + ], "rewrites": [ { "source": "/stats/js/script.js", @@ -17,6 +24,7 @@ "source": "/eat/:path(.*)", "destination": "https://eu.i.posthog.com/:path*" }, + { "source": "/(.*)", "destination": "/error-404.html" diff --git a/vercel.json b/vercel.json deleted file mode 100644 index a9ad2b316..000000000 --- a/vercel.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "redirects": [ - { - "source": "/", - "destination": "/ui", - "permanent": false - } - ] -} -