Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support spaces in .env #1182

Closed
safazi opened this issue Nov 5, 2022 · 1 comment
Closed

Support spaces in .env #1182

safazi opened this issue Nov 5, 2022 · 1 comment
Labels

Comments

@safazi
Copy link

safazi commented Nov 5, 2022

With

Env.get('PORT')
PORT=8080

Returns 8080, but

PORT = 8080

Returns undefined

@LoicPoullain
Copy link
Member

Thank you for reporting this.

Indeed the configuration system didn't work when there were spaces around the key name. The fix has been merged. It will be released with v3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

2 participants