Skip to content

Commit

Permalink
vercel routes conflict fix
Browse files Browse the repository at this point in the history
  • Loading branch information
devvsakib committed Jul 27, 2024
1 parent c7bfb5d commit d252757
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"routes": [
{
"src": "/posts/(.*)",
"dest": "/posts/$1"
}
],
"rewrites": [
{
"source": "/(.*)",
"destination": "/"
}
{
"source": "/posts/(.*)",
"destination": "/posts/$1"
},
{
"source": "/(.*)",
"destination": "/"
}
]
}
}

0 comments on commit d252757

Please sign in to comment.