it-at-m/opensource.muenchen.de

redirects without trailing slash

Closed this issue · 3 comments

klml commented

Currently we use trailing slash

https://opensource.muenchen.de/de/

we should support slash (as in redirect) without trailing slash

https://opensource.muenchen.de/de

This is expected. Missing trailing slash requires special handling in deployment server (e.g. Netlify does this by default), not from VitePress.

from vuejs/vitepress#490 (comment)

So probably it's easier for us to do this:

https://timmehosting.de/blog/nginx-trailing-slash-zu-urls-hinzufuegen-rewrite-rule