I am trying to set the baseUrl for different environment. Usually, I do it in different environment configuration files under config/env/myenvironment.js. It seems to me that the waterlock-local-auth model will only read the config in waterlock.js:
var configPath = path.normalize(__dirname+'/../../../config/waterlock.js');
Is it possible to set some variables specific to each environment with the current version (0.1.2-rc1)? Or the configPath should merge with environment settings? Many thanks.
I am trying to set the
baseUrl
for different environment. Usually, I do it in different environment configuration files underconfig/env/myenvironment.js
. It seems to me that the waterlock-local-auth model will only read the config inwaterlock.js
:Is it possible to set some variables specific to each environment with the current version (0.1.2-rc1)? Or the
configPath
should merge with environment settings? Many thanks.