12factor-config
12factor-config copied to clipboard
How to set object as default value?
I want to add config like. But when I do yarn start
, there is error accessing logging.logfile
.
logging: {
env: 'LOGGING',
type: 'string',
default: '{ "logfile": "log/server.log", "level": "info" }',
required: true
}
This package is pretty much deprecated, sorry. I suspect you'd be better off using something else. I'll go and archive the repo.