Skip to content

Commit

Permalink
Change routes to rewrites (vercel#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle authored Dec 9, 2019
1 parent 842c1cb commit 2b3ec99
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions now.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"memory": 3008
}
},
"routes": [
{ "handle": "filesystem" },
{ "src": "/(.+)", "dest": "/api" }
"rewrites": [
{ "source": "/(.+)", "destination": "/api" }
]
}

0 comments on commit 2b3ec99

Please sign in to comment.