mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-28 07:46:36 +00:00
Initial hp working?
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
export * from "./getConfig";
|
||||
export * from "./receiveBandwidth";
|
||||
export * from "./updateHolePunch";
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user