Skip to content

Commit

Permalink
Update vercel.json to rewrite all routes to /api
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcrammer committed Apr 1, 2024
1 parent 15ddf11 commit 0fd9ac2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"version": 2,
"routes": [
{
"src": "/(.*)",
"dest": "/"
}
]
"rewrites": [{ "source": "/(.*)", "destination": "/api" }]
}

0 comments on commit 0fd9ac2

Please sign in to comment.