diff --git a/.env.example b/.env.example index 710cb02f..2e8aed04 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,7 @@ # Gun db storage DATA_FILE_NAME=radata2 # Gun peer -PEERS=["http://gun.shock.network:8765/gun"] +["https://gun.shock.network/gun","https://gun-eu.shock.network/gun"] # API Device Token MS_TO_TOKEN_EXPIRATION=4500000 # E2EE diff --git a/config/defaults.js b/config/defaults.js index 21bfcb9e..73890de2 100644 --- a/config/defaults.js +++ b/config/defaults.js @@ -47,7 +47,7 @@ module.exports = (mainnet = false) => { logfile: "shockapi.log", lndLogFile: parsePath(`${lndDirectory}/logs/bitcoin/${network}/lnd.log`), lndDirPath: lndDirectory, - peers: ['https://gun.shock.network/gun','https://gun-eu.shock.network'], + peers: ['https://gun.shock.network/gun','https://gun-eu.shock.network/gun'], useTLS: false, tokenExpirationMS: 259200000, localtunnelHost:'https://tunnel.rip'