From 36fb447392b86c886bf4f2400156261f85fcc226 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Thu, 5 Sep 2019 12:48:17 -0700 Subject: [PATCH] fix redirects for embeds closes #856 --- now.json | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/now.json b/now.json index f0712c8..81b3e5c 100644 --- a/now.json +++ b/now.json @@ -26,11 +26,6 @@ "Service-Worker-Allowed": "/" } }, - { - "src": "^(/*)(.+)/$", - "status": 301, - "headers": { "Location": "/$2" } - }, { "src": "/", "continue": true, @@ -48,6 +43,14 @@ "Feature-Policy": "geolocation 'self'; microphone 'self'; camera 'self'" } }, + { + "src": "/embed/", + "dest": "/embed.html" + }, + { + "src": "/about/", + "dest": "/about.html" + }, { "handle": "filesystem" } ], "build": {