Skip to content

Commit

Permalink
test rewrites 4
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirShestakov committed Dec 5, 2023
1 parent 3085508 commit 5e85dbf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"rewrites": [
{
"source": "/api",
"destination": "http://example.front.ylab.io/api"
"source": "/api/:path*",
"destination": "http://example.front.ylab.io/api/:path*"
},
{
"source": "/api/:path*/",
"destination": "http://example.front.ylab.io/api/:path*/"
}
]
}

0 comments on commit 5e85dbf

Please sign in to comment.