19 lines
479 B
JavaScript
19 lines
479 B
JavaScript
import grabDist from "./utils/grabDist";
|
|
const distDir = grabDist();
|
|
|
|
const NEXT_PUBLIC_SU_ADMIN_ORIGIN =
|
|
process.env.NEXT_PUBLIC_DSQL_SU_ADMIN_ORIGIN || "";
|
|
|
|
/** @type {import('next-sitemap').IConfig} */
|
|
export default {
|
|
siteUrl: process.env.DSQL_SITE_URL || "https://datasquirel.com",
|
|
generateRobotsTxt: true,
|
|
sourceDir: distDir,
|
|
exclude: [
|
|
"/admin*",
|
|
"/redirect",
|
|
`${NEXT_PUBLIC_SU_ADMIN_ORIGIN}*`,
|
|
"/*password*",
|
|
],
|
|
};
|