From 66e4e8369134affcd47e4a730ca9774bd3617da2 Mon Sep 17 00:00:00 2001 From: Richard Hallett Date: Mon, 15 May 2023 19:00:56 +0200 Subject: [PATCH] Fix rewrite for sitemap Should be /sitemaps/path --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 8093fd1e..553ddf9b 100644 --- a/next.config.js +++ b/next.config.js @@ -86,7 +86,7 @@ module.exports = withSourceMaps({ return [ { source: '/sitemaps/:path*', - destination: `${process.env.SITEMAPS_URL}/:path*` + destination: `${process.env.SITEMAPS_URL}/sitemaps/:path*` }, ] }