If you want to test how your application behaves using production-specific variables (like a live API endpoint) but do not want to modify the shared .env.production file or hardcode values, you can place them in .env.local.production . This allows you to simulate a production environment locally.

The framework loads .env.local first (lower priority) and then .env.production.local (higher priority). Variables from the production-local file will win.

WhatsApp
Sales
Support
Scan
.env.local.production

Scan
More company information

Unified service hotline
0755-29360806

TO TOP