From e554be21cad5546b9f212154607ef7ba1071006b Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 29 Aug 2019 18:32:15 -0400 Subject: [PATCH] Change routes to handle filesystem (#95) --- now.json | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/now.json b/now.json index 3d48023..236a341 100644 --- a/now.json +++ b/now.json @@ -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" } + ] }