mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-23 21:36:37 +00:00
Use the right ip
This commit is contained in:
@@ -87,7 +87,7 @@ export const handleOlmRegisterMessage: MessageHandler = async (context) => {
|
|||||||
endpoint: `${site.endpoint}:${site.listenPort}`,
|
endpoint: `${site.endpoint}:${site.listenPort}`,
|
||||||
publicKey: site.publicKey,
|
publicKey: site.publicKey,
|
||||||
serverIP: site.address!.split("/")[0],
|
serverIP: site.address!.split("/")[0],
|
||||||
tunnelIP: site.subnet.split("/")[0]
|
tunnelIP: client.subnet.split("/")[0]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
broadcast: false, // Send to all olms
|
broadcast: false, // Send to all olms
|
||||||
|
|||||||
Reference in New Issue
Block a user