Filter the nodes based on the preference labels

This commit is contained in:
Owen
2026-06-29 11:40:25 -04:00
parent cf07cceb5d
commit 9c18936be7
2 changed files with 83 additions and 5 deletions
@@ -38,7 +38,8 @@ export const handleNewtPingRequestMessage: MessageHandler = async (context) => {
const exitNodesList = await listExitNodes(
site.orgId,
true,
noCloud || false
noCloud || false,
newt.siteId
); // filter for only the online ones
let lastExitNodeId = null;