From 067eac01b89ee8e2723d72e400efde8901fd1bdb Mon Sep 17 00:00:00 2001 From: Hitesh Kumar Date: Sun, 19 Jul 2026 13:15:21 +0530 Subject: [PATCH] update router --- vercel.json | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/vercel.json b/vercel.json index 2f59eda..eebabf7 100644 --- a/vercel.json +++ b/vercel.json @@ -1,19 +1,12 @@ { + "$schema": "https://openapi.vercel.sh/vercel.json", + "framework": "vite", "buildCommand": "npm run build", "outputDirectory": "dist", - "framework": "vite", - "routes": [ - { - "src": "/assets/(.*)", - "dest": "/assets/$1" - }, - { - "src": "/(favicon\\.svg|robots\\.txt|manifest\\.json)", - "dest": "/$1" - }, + "rewrites": [ { - "src": "/(.*)", - "dest": "/index.html" + "source": "/(.*)", + "destination": "/index.html" } ] -} +} \ No newline at end of file