mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-01 08:34:53 +02:00
Use the right ip
This commit is contained in:
parent
a4d3a5ad4d
commit
450b0bf4fa
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ export const handleOlmRegisterMessage: MessageHandler = async (context) => {
|
|||
endpoint: `${site.endpoint}:${site.listenPort}`,
|
||||
publicKey: site.publicKey,
|
||||
serverIP: site.address!.split("/")[0],
|
||||
tunnelIP: site.subnet.split("/")[0]
|
||||
tunnelIP: client.subnet.split("/")[0]
|
||||
}
|
||||
},
|
||||
broadcast: false, // Send to all olms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue