Update config.js

This commit is contained in:
ericgaspar 2021-08-25 19:56:40 +02:00
parent 93f7939930
commit d3d25ef1f7

View File

@ -126,7 +126,7 @@ const conf = convict({
}, },
listen_address: { listen_address: {
format: 'ipaddress', format: 'ipaddress',
default: '0.0.0.0', default: '127.0.0.1',
env: 'IP_ADDRESS' env: 'IP_ADDRESS'
}, },
listen_port: { listen_port: {
@ -147,7 +147,7 @@ const conf = convict({
}, },
env: { env: {
format: ['production', 'development', 'test'], format: ['production', 'development', 'test'],
default: 'development', default: 'production',
env: 'NODE_ENV' env: 'NODE_ENV'
}, },
max_file_size: { max_file_size: {