Change routes to handle filesystem (#95)

This commit is contained in:
Steven 2019-08-29 18:32:15 -04:00 committed by GitHub
parent d2faa8238e
commit e554be21ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,9 @@
{
"regions": ["all"],
"public": true,
"version": 2,
"routes": [
{ "src": "/", "dest": "/index.html" },
{ "src": "/(favicon.ico|style.css|robots.txt|dist/web/index.js)", "dest": "/$1" },
{ "src": "/(.+)", "dest": "/api" }
]
"regions": ["all"],
"public": true,
"version": 2,
"routes": [
{ "handle": "filesystem" },
{ "src": "/(.+)", "dest": "/api" }
]
}