Skip to content

Commit

Permalink
changed Vercel.json - adding build back, changed routes to rewrites
Browse files Browse the repository at this point in the history
  • Loading branch information
shashankaggarwal committed May 26, 2024
1 parent 63ff860 commit 2d3c7b0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
"version": 2,
"routes": [
{ "handle": "filesystem" },
"builds": [
{
"src": "/.*",
"dest": "/dist/index.html",
"status": 200
"src": "package.json",
"use": "@vercel/static-build",
"config": {
"distDir": "dist"
}
}
],
"rewrites": [
{ "source": "/(.*)", "destination": "/dist/index.html" }
],
"cleanUrls": true,
"trailingSlash": false
}
Expand Down

0 comments on commit 2d3c7b0

Please sign in to comment.