Skip to content

Commit 3dbf64d

Browse files
committed
The url of the sitemap should match the actual url
Signed-off-by: stam <[email protected]>
1 parent 572109d commit 3dbf64d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby-plugin-sitemap/src/internals.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const defaultOptions = {
5959
serialize: ({ site, allSitePage }) =>
6060
allSitePage.edges.map(edge => {
6161
return {
62-
url: site.siteMetadata.siteUrl + edge.node.path,
62+
url: site.siteMetadata.siteUrl + edge.node.path.toLowerCase(),
6363
changefreq: `daily`,
6464
priority: 0.7,
6565
}

0 commit comments

Comments
 (0)