Trailing slash is being removed from URL once refreshed
I have enabled trailingSlash: 'append' in Nuxt Link. It works as expected with all links having a trailing slash. When I navigate to a certain route it does have a trailing slash but when I refresh the page, the trailing slash is removed.
Have you guys faced this issue in Nuxt 3 or this is a redirect issue?
Thanks is advance.
7 Replies
In production? Which platform?
Unknown User•12mo ago
Message Not Public
Sign In & Join Server To View
In production built on SSG and deployed on Netlify.
Hmm, netlify has some URL change/prettyfication settings.
But my slashes are not removed (see e.g. https://www.lichter.io/about/)
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
i18n has a trailing slash options by now I think
@aakashthapa have the same issue, hope you've solved.
@manniL / TheAlexLichter use nuxtjs/i18n ^8.0.0, didn't find trailing slash options