Skip to content

Commit

Permalink
Fix issue with baseUrls
Browse files Browse the repository at this point in the history
  • Loading branch information
RDIL authored Apr 17, 2020
1 parent d933bb6 commit 974167c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-sitemap/src/createSitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function createSitemap(
}

const urls = routesPaths
.filter((route: string) => route !== '/404.html')
.filter((route: string) => !route.endsWith('404.html'))
.map(
(routesPath) =>
({
Expand Down

0 comments on commit 974167c

Please sign in to comment.