Initial commit: backend, storefront, vendor-panel added
This commit is contained in:
19
storefront/next-sitemap.js
Normal file
19
storefront/next-sitemap.js
Normal file
@@ -0,0 +1,19 @@
|
||||
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,
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user