From bcd08284b4bc732c2e02f8a84ae89b03f769ca4b Mon Sep 17 00:00:00 2001 From: "a.bouhuolia" Date: Thu, 13 Apr 2023 02:50:55 +0200 Subject: [PATCH] chore: add vercel rewrite --- vercel.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index 0d1109281..39a032ef2 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,9 @@ { "installCommand": "npm install && npm run bootstrap", "buildCommand": "CI='' npm run build:webapp", - "outputDirectory": "packages/webapp/build" -} + "outputDirectory": "packages/webapp/build", + "rewrites": [{ + "source": "/(.*)", + "destination": "/" + }] +} \ No newline at end of file