DEV Community

Discussion on: Bridgetown and Environment Variables

Collapse
 
whysthatso profile image
Andreas Wagner

yes, separation makes perfect sense, and should be considered as default certainly. i've seen too many frontend projects - usually by single developer - that leave configuration all over the place, ad hoc inserts, etc. it's very frustrating to take over a project like that and grep the code for config locations.

my angle was more geared towards the security aspect, as the key is public anyway.