Skip to content
Discussion options

You must be logged in to vote

We inherit that behavior from next.js. Here's what I do:

# .env
APP_ENV=development

# .env.production
APP_ENV=production

# .env.test
APP_ENV=test

And then you can set custom APP_ENV values like STAGING

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@antonykamp
Comment options

Answer selected by antonykamp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants