feat/SW-550 sitemap route
* feat(SW-550): Added rewrites to handle sitemap paths * feat(SW-550): Added sitemap-index generation * feat(SW-550): Added sitemap xml file generation * feat(SW-550): Added feature flag 'HIDE_FOR_NEXT_RELEASE' to sitemap routes Approved-by: Linus Flood
This commit is contained in:
@@ -308,6 +308,14 @@ const nextConfig = {
|
||||
source: findMyBooking.sv,
|
||||
destination: "/sv/hotelreservation/get-booking",
|
||||
},
|
||||
{
|
||||
source: `/sitemap-:id(\\d{1,}).xml`,
|
||||
destination: `/sitemap/:id`,
|
||||
},
|
||||
{
|
||||
source: `/sitemap-index.xml`,
|
||||
destination: `/sitemap`,
|
||||
},
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user