GEOLYTIX / xyz

An open source javascript framework for spatial data and application interfaces.
MIT License
88 stars 26 forks source link

URLSearchParams to split process.env variables #1730

Open dbauszus-glx opened 1 week ago

dbauszus-glx commented 1 week ago

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())