Dont allow clients to connect to remote nodes quite yet

This commit is contained in:
Owen
2026-08-21 12:25:14 -04:00
parent e3e1508e8a
commit 442cefda84
3 changed files with 11 additions and 4 deletions
+4 -1
View File
@@ -22,7 +22,10 @@ export async function listExitNodes(
// Accepted for parity with the enterprise implementation (used there for
// site-label filtering of remote exit nodes). The OSS build has no remote
// exit nodes, so it is unused here.
siteId?: number
siteId?: number,
// Same as above: accepted for parity, unused since the OSS build has no
// remote exit nodes to exclude.
noRemote = false
) {
// TODO: pick which nodes to send and ping better than just all of them that are not remote
const allExitNodes = await db