N
Nuxt12mo ago
aakashthapa

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
manniL
manniL12mo ago
In production? Which platform?
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
aakashthapa
aakashthapaOP12mo ago
In production built on SSG and deployed on Netlify.
manniL
manniL12mo ago
Hmm, netlify has some URL change/prettyfication settings. But my slashes are not removed (see e.g. https://www.lichter.io/about/)
Unknown User
Unknown User11mo ago
Message Not Public
Sign In & Join Server To View
manniL
manniL11mo ago
i18n has a trailing slash options by now I think
Eugene29
Eugene298mo ago
@aakashthapa have the same issue, hope you've solved. @manniL / TheAlexLichter use nuxtjs/i18n ^8.0.0, didn't find trailing slash options
Want results from more Discord servers?
Add your server