mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-12 23:35:32 +00:00
change default port on client so it can run side by side with other clients
This commit is contained in:
parent
3072ec83f9
commit
6ddd95fe5a
@ -141,6 +141,7 @@ proc setupAccount*(account: GeneratedAccount, password: string): types.Account =
|
||||
var settingsJSON = getAccountSettings(account, constants.DEFAULT_NETWORKS, installationId)
|
||||
var nodeConfig = constants.NODE_CONFIG
|
||||
nodeConfig["ShhextConfig"]["InstallationID"] = newJString(installationId)
|
||||
nodeConfig["ListenAddr"] = if existsEnv("STATUS_PORT"): newJString("0.0.0.0:" & $getEnv("STATUS_PORT")) else: newJString("0.0.0.0:30305")
|
||||
|
||||
result = saveAccountAndLogin(account, $accountData, password, $nodeConfig, $settingsJSON)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user