From b30bb85693293fc33e30a90ebfc3b003d16247a8 Mon Sep 17 00:00:00 2001 From: hasan-deriv Date: Fri, 3 Jan 2025 14:51:38 +0800 Subject: [PATCH] fix: vercel deploy issue --- vercel.dr.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/vercel.dr.json b/vercel.dr.json index ac6da57f..3bf39297 100644 --- a/vercel.dr.json +++ b/vercel.dr.json @@ -1,5 +1,10 @@ { - "cleanUrls": true, "outputDirectory": "dist", - "buildCommand": "echo ✅ Skipping build to use existing built files" -} + "buildCommand": "echo ✅ Skipping build to use existing built files", + "rewrites": [ + { + "source": "/(.*)", + "destination": "/index.html" + } + ] +} \ No newline at end of file