20 lines
374 B
JavaScript
20 lines
374 B
JavaScript
const excludedPaths = ["/checkout", "/account/*"]
|
|
|
|
module.exports = {
|
|
siteUrl: process.env.NEXT_PUBLIC_VERCEL_URL,
|
|
generateRobotsTxt: true,
|
|
exclude: excludedPaths + ["/[sitemap]"],
|
|
robotsTxtOptions: {
|
|
policies: [
|
|
{
|
|
userAgent: "*",
|
|
allow: "/",
|
|
},
|
|
{
|
|
userAgent: "*",
|
|
disallow: excludedPaths,
|
|
},
|
|
],
|
|
},
|
|
}
|