From 2be0df24a8976c990a045850b9947f6ba3dd8798 Mon Sep 17 00:00:00 2001 From: Melisa Anabella Rossi Date: Wed, 6 Mar 2024 17:14:26 -0300 Subject: [PATCH] add auth basepath --- public/vercel.json | 8 ++++++++ vercel.json | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 public/vercel.json diff --git a/public/vercel.json b/public/vercel.json new file mode 100644 index 0000000..9ba4396 --- /dev/null +++ b/public/vercel.json @@ -0,0 +1,8 @@ +{ + "rewrites": [ + { + "source": "/[^.]+", + "destination": "/index.html" + } + ] +} diff --git a/vercel.json b/vercel.json index a6ef456..d9c0406 100644 --- a/vercel.json +++ b/vercel.json @@ -12,8 +12,8 @@ }, "rewrites": [ { - "source": "/(.*)", - "destination": "/" + "source": "/(^.)*", + "destination": "/index.html" } ] }