From 15b44d4d91b792953039bb16109004853b0c44a4 Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Fri, 16 Jan 2026 11:13:23 +0100 Subject: [PATCH] fix: add vercel.json for explicit API and SPA routing --- vercel.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..438c0b2 --- /dev/null +++ b/vercel.json @@ -0,0 +1,12 @@ +{ + "rewrites": [ + { + "source": "/api/(.*)", + "destination": "/api/$1" + }, + { + "source": "/(.*)", + "destination": "/index.html" + } + ] +} \ No newline at end of file