Use the right ip

This commit is contained in:
Owen 2025-02-21 18:16:07 -05:00
parent a4d3a5ad4d
commit 450b0bf4fa
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD

View file

@ -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