|
|
@ -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' |
|
|
|
|
|
|
|