Skip to content

Commit e170404

Browse files
committed
Update gatsby-config.ts
1 parent 26c323b commit e170404

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gatsby-config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ module.exports = {
5050
`,
5151
resolvePages: ({ allSitePage }: { allSitePage: any }) =>
5252
allSitePage.nodes,
53-
serialize: ({ site, path }: { site: any; path: string }) => ({
54-
url: `${site.siteMetadata.siteUrl}${path}`,
53+
serialize: ({ path }: { path: string }) => ({
54+
url: path,
5555
lastmod: new Date().toISOString(),
5656
priority: path === "/" ? 1.0 : 0.8,
5757
}),

0 commit comments

Comments
 (0)