-
-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
bugSomething isn't workingSomething isn't working
Description
🐛 The bug
When using the exclude property to remove specific urls, the pages are not excluded because of the app base url
eg:
export default defineNuxtConfig({
app: {
baseURL: '/base/',
},
sitemap: {
exclude: ['/about'],
},
})This doesn't work in an i18n setup. For it to work you have to do
exclude: ['/about', '/hr/about'],🛠️ To reproduce
https://stackblitz.com/edit/nuxt-starter-dedexxzy?file=nuxt.config.ts
🌈 Expected behavior
I'm expecting the url with the baseURL to be excluded
ℹ️ Additional context
you can run `pnpm build && cat .output/public/sitemap/hr-HR.xml to test
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working