Hi, is there any way in the dev environment for Astro to redirect all pages within a subfolder to it's index eg mysite.com/spa/1234 -> mysite.com/spa/. So far I can only see that you have to specify the subfolder names using getStaticPaths but you need to know the path names up front.
This isn't an issue in production as the server will handle the redirects, just looking for a convenient way for this to work during dev.