Skip to content

Commit

Permalink
fix(sitemap): add hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Aug 29, 2021
1 parent 6d041ee commit 42b349f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export default {
Sitemap: BASE_URL + '/sitemap.xml',
},
],
['@nuxtjs/sitemap', { i18n: true }], // Should be declared at the end of the array.
['@nuxtjs/sitemap', { hostname: BASE_URL, i18n: true }], // Should be declared at the end of the array.
],
plugins: ['~/plugins/baseUrl.ts', '~/plugins/i18n.ts'],
publicRuntimeConfig: {
Expand Down

0 comments on commit 42b349f

Please sign in to comment.