fix redirects for embeds

closes #856
main
Mike Fix 5 years ago
parent ca5be87840
commit 36fb447392

@ -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": {

Loading…
Cancel
Save