dsql-admin/dsql-app/next-sitemap.config.js
Benjamin Toby 1900e30ecf Updates
2025-02-17 06:55:49 +01:00

11 lines
322 B
JavaScript

const grabDist = require("./utils/grabDistCJS");
const distDir = grabDist();
/** @type {import('next-sitemap').IConfig} */
module.exports = {
siteUrl: process.env.DSQL_SITE_URL || "https://datasquirel.com",
generateRobotsTxt: true,
sourceDir: distDir,
exclude: ["/admin*", "/redirect", "/*password*"],
};