change default netId

This commit is contained in:
poma 2020-12-18 23:14:17 +03:00
parent 643048774e
commit e31b738bf7
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657

View File

@ -3,7 +3,7 @@ require('dotenv').config()
const { jobType } = require('./constants') const { jobType } = require('./constants')
const tornConfig = require('torn-token') const tornConfig = require('torn-token')
module.exports = { module.exports = {
netId: Number(process.env.NET_ID) || 42, netId: Number(process.env.NET_ID) || 1,
redisUrl: process.env.REDIS_URL || 'redis://127.0.0.1:6379', redisUrl: process.env.REDIS_URL || 'redis://127.0.0.1:6379',
httpRpcUrl: process.env.HTTP_RPC_URL, httpRpcUrl: process.env.HTTP_RPC_URL,
wsRpcUrl: process.env.WS_RPC_URL, wsRpcUrl: process.env.WS_RPC_URL,