require("dotenv").config();

/** @type {import('next-sitemap').IConfig} */
module.exports = {
  siteUrl: process.env.NEXT_PUBLIC_BASE_URL || "https://nitescape.ca",
  generateRobotsTxt: true,
  generateIndexSitemap: true,
  exclude: ["/admin*", "/api/*"],
  robotsTxtOptions: {
    additionalSitemaps: [`${process.env.NEXT_PUBLIC_BASE_URL || "https://nitescape.ca"}/sitemap.xml`],
  },
};
