Change routes to rewrites (#104)

This commit is contained in:
Steven 2019-12-09 09:59:40 -05:00 committed by GitHub
parent 842c1cb045
commit 2b3ec99d82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -7,8 +7,7 @@
"memory": 3008
}
},
"routes": [
{ "handle": "filesystem" },
{ "src": "/(.+)", "dest": "/api" }
"rewrites": [
{ "source": "/(.+)", "destination": "/api" }
]
}