mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-10 04:36:38 +00:00
Fix subnet issues
This commit is contained in:
@@ -46,7 +46,9 @@ export async function getAllRelays(
|
||||
const sitesRes = await db.select().from(sites).where(eq(sites.exitNodeId, exitNode.exitNodeId));
|
||||
|
||||
if (sitesRes.length === 0) {
|
||||
return next(createHttpError(HttpCode.NOT_FOUND, "No sites found for this exit node"));
|
||||
return {
|
||||
mappings: {}
|
||||
}
|
||||
}
|
||||
|
||||
// get the clients on each site and map them to the site
|
||||
|
||||
Reference in New Issue
Block a user