Merge branch 'hp-multi-client' into auth-providers-clients

This commit is contained in:
Owen
2025-04-29 11:34:32 -04:00
2 changed files with 7 additions and 3 deletions

View File

@@ -141,7 +141,7 @@ export const handleOlmRegisterMessage: MessageHandler = async (context) => {
);
await addPeer(site.siteId, {
publicKey: publicKey,
allowedIps: [client.subnet],
allowedIps: [`${client.subnet.split('/')[0]}/32`], // we want to only allow from that client
endpoint: client.endpoint
});
} else {