trailing slash redirect

main
Mike Fix 5 years ago
parent 60f23d0798
commit 7d618c7ea4

@ -26,6 +26,11 @@
"Service-Worker-Allowed": "/"
}
},
{
"src": "^(/*)(.+)/$",
"status": 301,
"headers": { "Location": "/$2" }
},
{
"src": "/",
"continue": true,
@ -43,14 +48,6 @@
"Feature-Policy": "geolocation 'self'; microphone 'self'; camera 'self'"
}
},
{
"src": "/embed/",
"dest": "/embed.html"
},
{
"src": "/about/",
"dest": "/about.html"
},
{ "handle": "filesystem" }
],
"build": {

Loading…
Cancel
Save