Initial hp working?

This commit is contained in:
Owen
2025-02-22 11:20:56 -05:00
parent a9a9391b39
commit e4c5be4350
6 changed files with 49 additions and 16 deletions

View File

@@ -1,2 +1,3 @@
export * from "./getConfig";
export * from "./receiveBandwidth";
export * from "./updateHolePunch";

View File

@@ -35,6 +35,8 @@ export async function updateHolePunch(
}
const { olmId, newtId, ip, port, timestamp } = parsedParams.data;
logger.debug(`Got hole punch with ip: ${ip}, port: ${port} for olmId: ${olmId} or newtId: ${newtId}`);
if (olmId) {
const [olm] = await db