diff --git a/src/app/robots.tsx b/src/app/robots.tsx index 2645e371..a45239f2 100644 --- a/src/app/robots.tsx +++ b/src/app/robots.tsx @@ -1,7 +1,7 @@ import { MetadataRoute } from 'next'; export default function robots(): MetadataRoute.Robots { - if (process.env.ENVIRONMENT === 'production') { + if (process.env.NODE_ENV === 'production') { return { rules: { userAgent: '*',