From d12a9220ddd71ebbfeadcca4736d2453f9fa17ab Mon Sep 17 00:00:00 2001 From: alxshelepenok Date: Wed, 8 May 2019 22:05:39 +0300 Subject: [PATCH] fix: cannot build gatsby sitemap #199 --- gatsby-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gatsby-config.js b/gatsby-config.js index f452400..c49bc35 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -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 }))