nuxt
nuxt copied to clipboard
Can only visit url with trailing slash once
Today I discovered that my Nuxt 3 PWA app redirects mysite.com/faq/
to mysite.com
Without a trailing slash the faq page is perfectly served.
After playing around with trailingSlash: false inside nuxt.config.ts and nginx setttings I found out that when I visit mysite.com/faq/
in incognito mode, it works once. The second time it fails.
The page is probably served out of the serviceworker?