fix(startup): Listing web3 server at startup

This commit is contained in:
Chris Troutner
2022-05-09 09:33:39 -07:00
parent 91fa460158
commit 805cac97d9
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -56,7 +56,10 @@ class Server {
})
console.log(`Starting environment: ${config.env}`)
console.log(`Debug level: ${config.debugLevel}`)
console.log(`Debug level: ${config.debugLevel}\n`)
console.log(`Using this web3 CashStack service: ${config.consumerUrl}`)
console.log('Alternative web services listed here: https://gist.github.com/christroutner/63c5513782181f8b8ea3eb89f7cadeb6')
console.log('This app is built on top of the CashStack. Find out more: https://CashStack.info\n')
// MIDDLEWARE START
+1 -1
View File
@@ -97,7 +97,7 @@ module.exports = {
// BCH Mnemonic for generating encryption keys and payment address
mnemonic: process.env.MNEMONIC ? process.env.MNEMONIC : '',
debugLevel: process.env.DEBUG_LEVEL ? parseInt(process.env.DEBUG_LEVEL) : 2,
debugLevel: process.env.DEBUG_LEVEL ? parseInt(process.env.DEBUG_LEVEL) : 1,
// Settings for production, using external go-ipfs node.
isProduction: process.env.SVC_ENV === 'production' ? true : false,