fix: corriger la détection d'environnement dans robots.js

This commit is contained in:
2026-07-04 11:43:30 +04:00
parent 77f8cea399
commit 7b9968cb82
2 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
export default function robots() {
const isProduction = process.env.NEXT_PUBLIC_ENV === 'production';
const isProduction = process.env.NODE_ENV === 'production';
if (!isProduction) {
return {