12factor-config icon indicating copy to clipboard operation
12factor-config copied to clipboard

How to set object as default value?

Open chaudharykiran opened this issue 5 years ago • 1 comments

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
        }

chaudharykiran avatar Sep 26 '19 10:09 chaudharykiran

This package is pretty much deprecated, sorry. I suspect you'd be better off using something else. I'll go and archive the repo.

chilts avatar Nov 13 '19 03:11 chilts