You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if I'm missing something or not reading the docs correctly and I'm hoping someone here can help. Currently I'm using this setup in my app with a config.json file in the root of my repo. If the app uses docker instead of just launching it via the cli I would like to use redis inside of another container hence the need for ENV.
What I've noticed is that even when passing in DNS_PORT it's being added to the store with all capitals meaning when get() is called it finds the lowercase one even since there's now two DNS and dns fields in the store.
Maybe the lowerCase option should add the fields using lowerCase instead of just looking them up with lowerCase?
I don't know if I'm missing something or not reading the docs correctly and I'm hoping someone here can help. Currently I'm using this setup in my app with a
config.json
file in the root of my repo. If the app uses docker instead of just launching it via the cli I would like to use redis inside of another container hence the need for ENV.What I've noticed is that even when passing in
DNS_PORT
it's being added to the store with all capitals meaning whenget()
is called it finds the lowercase one even since there's now twoDNS
anddns
fields in the store.Maybe the lowerCase option should add the fields using lowerCase instead of just looking them up with lowerCase?
The last line uses
nconf.get('dns:port');
to set the server's port.The output is from
console.log(nconf.get());
.The text was updated successfully, but these errors were encountered: