mirror of
https://github.com/fosrl/pangolin.git
synced 2026-10-21 12:09:04 +02:00
Added relayPort to exitNodes in db
This commit is contained in:
@@ -16,6 +16,7 @@ export async function createExitNode(
|
||||
const { value: address, release } = await getNextAvailableSubnet();
|
||||
try {
|
||||
const listenPort = config.getRawConfig().gerbil.start_port;
|
||||
const relayPort = config.getRawConfig().gerbil.clients_start_port;
|
||||
|
||||
const exitNodeName =
|
||||
config.getRawConfig().gerbil.exit_node_name ||
|
||||
@@ -30,6 +31,7 @@ export async function createExitNode(
|
||||
address,
|
||||
online: true,
|
||||
listenPort,
|
||||
relayPort,
|
||||
reachableAt,
|
||||
name: exitNodeName
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user