bitabase-gateway
Advanced tools
Comparing version 1.5.4 to 1.5.5
@@ -21,2 +21,3 @@ if (process.env.NODE_ENV === 'development') { | ||
start Start the bitabase gateway stack | ||
--advertise-host Hostname to advertise to others (default: --bind-host) | ||
--bind-host Hostname to bind server to (default: 0.0.0.0) | ||
@@ -42,2 +43,3 @@ --bind-port Port to bind server to (default: 8001) | ||
...args, | ||
advertiseHost: args['advertise-host'], | ||
bindHost: args['bind-host'], | ||
@@ -44,0 +46,0 @@ bindPort: args['bind-port'], |
@@ -16,7 +16,7 @@ const { promisify } = require('util'); | ||
const hostAddress = `http://${config.bindHost}:${config.bindPort}`; | ||
const hostAddress = `http://${config.advertiseHost}:${config.bindPort}`; | ||
const dbConnection = await rqlite.connect(config.rqliteAddr, { | ||
retries: 3, | ||
retryDelay: 250, | ||
retries: 10, | ||
retryDelay: 3000, | ||
onRetry: () => console.log('Could not connect to: ' + config.dataServer + '. Trying again...') | ||
@@ -23,0 +23,0 @@ }); |
{ | ||
"name": "bitabase-gateway", | ||
"version": "1.5.4", | ||
"version": "1.5.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,2 +15,3 @@ if (process.env.NODE_ENV === 'development') { | ||
config.bindHost = config.bindHost || '0.0.0.0'; | ||
config.advertiseHost = config.advertiseHost || config.bindHost; | ||
config.bindPort = config.bindPort || 8002; | ||
@@ -17,0 +18,0 @@ config.accountMapper = config.accountMapper || '(.*).bitabase.test'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77643
1086