From d252757289a779fd1eb12189efa2ecab1852f6b8 Mon Sep 17 00:00:00 2001 From: devvsakib Date: Sat, 27 Jul 2024 19:35:19 +0600 Subject: [PATCH] vercel routes conflict fix --- vercel.json | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/vercel.json b/vercel.json index 9dc98ac..bb22fe6 100644 --- a/vercel.json +++ b/vercel.json @@ -1,14 +1,13 @@ { - "routes": [ - { - "src": "/posts/(.*)", - "dest": "/posts/$1" - } - ], "rewrites": [ - { - "source": "/(.*)", - "destination": "/" - } + { + "source": "/posts/(.*)", + "destination": "/posts/$1" + }, + { + "source": "/(.*)", + "destination": "/" + } ] -} \ No newline at end of file + } + \ No newline at end of file