Browse Source

port from config/app.json

push-params
Evan Feenstra 4 years ago
parent
commit
e590d26931
  1. 2
      app.ts
  2. 2
      config/app.json

2
app.ts

@ -14,9 +14,9 @@ import * as socket from './api/utils/socket'
import * as network from './api/network'
let server: any = null
const port = process.env.PORT || 3001;
const env = process.env.NODE_ENV || 'development';
const config = require(path.join(__dirname, 'config/app.json'))[env];
const port = process.env.PORT || config.node_http_port || 3001
process.env.GRPC_SSL_CIPHER_SUITES = 'HIGH+ECDSA'

2
config/app.json

@ -21,7 +21,7 @@
"lnd_log_location": "/relay/.lnd/logs/bitcoin/mainnet/lnd.log",
"node_ip": "localhost",
"node_http_protocol": "http",
"node_http_port": "80",
"node_http_port": "3001",
"lnd_port": "10009",
"hub_api_url": "https://hub.sphinx.chat/api/v1",
"hub_url": "https://hub.sphinx.chat/ping",

Loading…
Cancel
Save