Add new config item: listen_address

The IP address to bind the HTTP server to
This commit is contained in:
Thomas Dalichow 2017-12-09 02:21:55 +01:00 committed by GitHub
parent d7084829c3
commit 106aef579f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ const conf = convict({
default: 'localhost',
env: 'REDIS_HOST'
},
listen_address: {
format: "ipaddress",
default: "127.0.0.1",
env: "IP_ADDRESS"
},
listen_port: {
format: 'port',
default: 1443,