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

URLSearchParams to split process.env variables #1730

Open
dbauszus-glx opened this issue Nov 19, 2024 · 0 comments
Open

URLSearchParams to split process.env variables #1730

dbauszus-glx opened this issue Nov 19, 2024 · 0 comments
Labels
Code Issues related to the code structure and performance.

Comments

@dbauszus-glx
Copy link
Member

Where multiple process.env variables are required to support a single module it would be advantageous to provide a single environment variable which can split with URLSearchParams.

This could be applied for SAML2, Mailer [TRANSPORT], dbs, and possibly more.

Object.fromEntries(new URLSearchParams(process.env.DBS).entries())
@dbauszus-glx dbauszus-glx added the Code Issues related to the code structure and performance. label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Issues related to the code structure and performance.
Projects
None yet
Development

No branches or pull requests

1 participant