Static GitHub Issues

[721] How to get rid of trailing forward slashes after nuxt generate?

prev: Property for Layouts
next: Property for middleware

When I use nuxt generate, dynamic links with an index.vue in the route's last folder creates a link like this:

https://mydomain.com/mypath/index.html

After deploying to S3, there is a redirect if the trailing forward slash is missing after mypath/. So https://mydomain.com/mypath redirects to https://mydomain.com/mypath/.

Is there any way around this, or is this a necessary evil of static sites? Thanks.

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c616">#c616</a>)</em></sub></div>