From 01293b662884a6ff91a6b90ddd15dd30dd213c67 Mon Sep 17 00:00:00 2001 From: Yasuaki Uechi Date: Wed, 5 Feb 2020 16:39:05 +0900 Subject: [PATCH] fix: redirection --- now.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/now.json b/now.json index 0a85c62..098347c 100644 --- a/now.json +++ b/now.json @@ -18,6 +18,11 @@ "src": "/availability/(?[^/]+)/(?[^/]+)", "dest": "/api/services/$provider.ts?query=$query" }, + { + "src": "/s/(.*)", + "dest": "/web/index.html", + "headers": {"cache-control": "s-maxage=86400"} + }, { "src": "/(.*)", "dest": "/web/$1",