I’m trying to migrate from an lambda/s3 setup for deploying and hosting an multilingual, multidomain site. I have so far set up https://www.lapoint.ch so that it deploys and hosts fine. In the build process, we build each language to its own folder in /dist/, and then we deploy the dist folder to netlify.
Using rewrites like
https://www.lapoint.ch/* /de-ch/:splat 200
I make sure the right content is served for each domain. However, we now have everything working both with and without trailing slash. Enabling or disabling pretty URLs have no effect, and we need to 301 to trailing slash.