fix: cannot build gatsby sitemap #199

This commit is contained in:
alxshelepenok 2019-05-08 22:05:39 +03:00
parent 420e422eb8
commit d12a9220dd

View File

@ -156,7 +156,7 @@ module.exports = {
`,
output: '/sitemap.xml',
serialize: ({ site, allSitePage }) => allSitePage.edges.map((edge) => ({
url: site.siteMetadata.url + edge.node.path,
siteUrl: site.siteMetadata.url + edge.node.path,
changefreq: 'daily',
priority: 0.7
}))