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'd like that when I call nconf.get("url"), I get "http://site.com:3000".
I tried
nconf.set("url",nconf.get("url").replace(...));
but it seems that once a variable is "loaded" into nconf, it's impossible to override it. Question 1: can I force nconf.set to override a variable that's already been declared? Question 2: what's the recommended way to cope with variables that depend on each other?
The text was updated successfully, but these errors were encountered:
Say for example I have two variables
I'd like that when I call
nconf.get("url")
, I get"http://site.com:3000"
.I tried
but it seems that once a variable is "loaded" into nconf, it's impossible to override it.
Question 1: can I force
nconf.set
to override a variable that's already been declared?Question 2: what's the recommended way to cope with variables that depend on each other?
The text was updated successfully, but these errors were encountered: