Skip to content

Commit 80bff6f

Browse files
committed
refactor: update vercel configuration to use rewrites instead of routes
1 parent 7ffdd97 commit 80bff6f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

vercel.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"config": { "distDir": "dist" }
88
}
99
],
10-
"routes": [
11-
{ "src": "/assets/(.*)", "dest": "/assets/$1" },
12-
{ "src": "/(.*)", "dest": "/index.html" }
10+
"rewrites": [
11+
{ "source": "/(.*)", "destination": "/index.html" }
1312
]
1413
}

0 commit comments

Comments
 (0)