-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
help: Why does the URL automatically end with /? I haven't set trailingSlash #349
Comments
I use @nuxtjs/seo, the latest sitemap version |
help me !!! |
When I set differentDomains: true, you will add /. I can't remove it in hooks('sitemap:resolved'). I need to set differentDomains: true, and the sitemap URL does not need to be followed by /. What should I do? |
Version v5.2.1 is OK, but nuxtjs/seo will update your version, which leads to this problem |
Can you make a reproduction? The only thing I can think of is that you've set the trailing slashes option somewhere. |
reproduction: Please help me🥺 |
The above link can reproduce this problem. I didn't set anything. Shouldn't it remove the trailing slash by default? It adds it now and I can't remove it? No matter what method I use, hooks can't remove it |
Yes I can confirm it's a bug, I'll take a look when I have a chance. |
Ok please asap I need it badly |
Should be fixed in 6.0.0-beta.5 👍 |
https://stackblitz.com/edit/nuxt-starter-h71ojo?file=package.json,nuxt.config.ts It seems that the repair was not successful |
thanks |
📚 What are you trying to do?
![image](https://github.com/user-attachments/assets/e9b3cb2a-d8d8-4b41-95fd-91c2be16fe9f)🔍 What have you tried?
No response
ℹ️ Additional context
No response
The text was updated successfully, but these errors were encountered: