From 5921d1ba6a20b8a4e3c671e960de9b9401a9d59f Mon Sep 17 00:00:00 2001 From: hasan-deriv Date: Thu, 12 Dec 2024 16:51:55 +0800 Subject: [PATCH 1/2] fix: removed vercel.json --- vercel.json | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 vercel.json diff --git a/vercel.json b/vercel.json deleted file mode 100644 index e4a9210e..00000000 --- a/vercel.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "routes": [ - { "handle": "filesystem" }, - { - "src": "/(.*)", - "dest": "/index.html" - } - ] -} \ No newline at end of file From 0294e161d43df3e01f6a145eb091552659a7076c Mon Sep 17 00:00:00 2001 From: hasan-deriv Date: Thu, 12 Dec 2024 16:53:12 +0800 Subject: [PATCH 2/2] fix: updated vercel.dr.json --- 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