Skip to content

Commit

Permalink
Fix rewrite for sitemap
Browse files Browse the repository at this point in the history
Should be /sitemaps/path
  • Loading branch information
richardhallett committed May 15, 2023
1 parent 5b023a2 commit 66e4e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = withSourceMaps({
return [
{
source: '/sitemaps/:path*',
destination: `${process.env.SITEMAPS_URL}/:path*`
destination: `${process.env.SITEMAPS_URL}/sitemaps/:path*`
},
]
}
Expand Down

0 comments on commit 66e4e83

Please sign in to comment.