.env.local.production ((free)) -
When running next start , process.env.DEBUG will be "false" .
: Follow the KEY=VALUE pattern without spaces around the = sign . .env.local.production
# Database connection for production testing DATABASE_URL="postgresql://user:password@localhost:5432/prod_db" # Production API Keys (Local Overrides) STRIPE_SECRET_KEY="sk_prod_xxxxxxxxxxxx" SENDGRID_API_KEY="SG.xxxxxxxxxxxxxxxxxxxx" # Application Settings NEXT_PUBLIC_API_URL="https://yourdomain.com" NODE_ENV="production" Use code with caution. Copied to clipboard When running next start , process
Recent Comments