'Strapi/NextJs Dynamic Route Sitemap

I'm using the strapi-sitemap-plugin by boazpoolman to develop a sitemap for my NextJs application. The issue is I have a nested dynamic route like so:

/articles/[categories]/[article]

The plugin allows custom urls like so: url pattern image

I'm unsure how to pass this info to the plugin. Pretty big shot in the dark but I'd like to avoid a lot of the development involved with generating a sitemap for a NextJs app.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source