-
-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
📚 What are you trying to do?
I have two API endpoints, which contain URLs:
/sitemap-da.xml
/sitemap-en.xml
I have the following Nuxt Sitemap config:
sitemap: {
/*sources: [
process.env.NUXT_PUBLIC_BASE_URL + '/sitemap-da.xml',
process.env.NUXT_PUBLIC_BASE_URL + '/sitemap-en.xml',
],*/
sitemaps: {
['sitemap-da']: {
sources: [
process.env.NUXT_PUBLIC_BASE_URL + '/sitemap-da.xml'
]
},
['sitemap-en']: {
sources: [
process.env.NUXT_PUBLIC_BASE_URL + '/sitemap-en.xml'
]
}
}
},
But I only get this:
Using debug endpoint shows URLs from sources, but sitemap XML only contains frontpage:
/__sitemap__/debug.json?sitemap=sitemap-da.xml
🔍 What have you tried?
No response
ℹ️ Additional context
No response
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed