Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can only visit url with trailing slash once #145

Open
sprucify opened this issue Jun 18, 2024 · 0 comments
Open

Can only visit url with trailing slash once #145

sprucify opened this issue Jun 18, 2024 · 0 comments

Comments

@sprucify
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant