From d2faa8238ea5e703a04b8bcb93f457e4bbc66106 Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 12 Aug 2019 09:04:24 -0700 Subject: [PATCH] Use routes instead of handle:filesystem (#94) --- now.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/now.json b/now.json index 7eacbc8..3d48023 100644 --- a/now.json +++ b/now.json @@ -1,8 +1,10 @@ { "regions": ["all"], "public": true, + "version": 2, "routes": [ - { "handle": "filesystem" }, + { "src": "/", "dest": "/index.html" }, + { "src": "/(favicon.ico|style.css|robots.txt|dist/web/index.js)", "dest": "/$1" }, { "src": "/(.+)", "dest": "/api" } ] }