mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-04 17:56:38 +00:00
add exit node name and fix db import issues
This commit is contained in:
@@ -53,7 +53,7 @@ export async function getConfig(
|
||||
}
|
||||
|
||||
// Fetch exit node
|
||||
let exitNodeQuery = await db
|
||||
const exitNodeQuery = await db
|
||||
.select()
|
||||
.from(exitNodes)
|
||||
.where(eq(exitNodes.publicKey, publicKey));
|
||||
@@ -77,7 +77,7 @@ export async function getConfig(
|
||||
address,
|
||||
listenPort,
|
||||
reachableAt,
|
||||
name: `Exit Node ${publicKey.slice(0, 8)}`
|
||||
name: config.getRawConfig().gerbil.exit_node_name // defaults to "default"
|
||||
})
|
||||
.returning()
|
||||
.execute();
|
||||
|
||||
Reference in New Issue
Block a user