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

prefer passing configuration in the config-object, rather than using env-vars #10

Open
OhadR opened this issue Jul 8, 2024 · 0 comments

Comments

@OhadR
Copy link
Owner

OhadR commented Jul 8, 2024

the hosting app needs to "guess" which env-vars it should define. it is more clear to pass all relevant configuration in the .config() method. for example, the details of the email-server:

process.env.emailSender
process.env.smtpServer
process.env.smtpPort
 process.env.emailServerUser
process.env.emailServerPass

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

1 participant