diff --git a/next.config.js b/next.config.js index 74476a0..ba0d017 100644 --- a/next.config.js +++ b/next.config.js @@ -32,17 +32,17 @@ const nextConfig = { // This is useful for staging environments before they are ready to go live // To allow robots to crawl the site, use the `NEXT_PUBLIC_IS_LIVE` env variable // You may want to also use this variable to conditionally render any tracking scripts - if (!process.env.NEXT_PUBLIC_IS_LIVE) { - headers.push({ - headers: [ - { - key: 'X-Robots-Tag', - value: 'noindex', - }, - ], - source: '/:path*', - }) - } + // if (!process.env.NEXT_PUBLIC_IS_LIVE) { + // headers.push({ + // headers: [ + // { + // key: 'X-Robots-Tag', + // value: 'noindex', + // }, + // ], + // source: '/:path*', + // }) + // } // Set the `Content-Security-Policy` header as a security measure to prevent XSS attacks // It works by explicitly whitelisting trusted sources of content for your website