DEV Community

loading...

Discussion on: Create a sitemap with Next.js

Collapse
adrien profile image
Adrien Rahier

Great tip! Thanks a lot
Good to know, in the above code DOMAIN is undefined and you should add it to the top like this:
const DOMAIN = 'example.com';

Forem Open with the Forem app