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

server.js performs dotenv.config() after PORT assignment #13

Closed
shared-techs opened this issue Apr 26, 2024 · 1 comment
Closed

server.js performs dotenv.config() after PORT assignment #13

shared-techs opened this issue Apr 26, 2024 · 1 comment

Comments

@shared-techs
Copy link

In server.js, PORT is assigned prior to running dotenv.config(), which results in PORT always equating to 5000.

@burakorkmez
Copy link
Owner

Huh! Didn't realize while recording. Updated the code. Thanks for letting me know!

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

No branches or pull requests

2 participants