mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-07 11:16:37 +00:00
Update ws paths
This commit is contained in:
@@ -20,7 +20,7 @@ export async function addPeer(siteId: number, peer: {
|
||||
}
|
||||
|
||||
sendToClient(newt.newtId, {
|
||||
type: 'add_peer',
|
||||
type: 'newt/wg/peer/add',
|
||||
data: peer
|
||||
});
|
||||
}
|
||||
@@ -38,7 +38,7 @@ export async function deletePeer(siteId: number, publicKey: string) {
|
||||
}
|
||||
|
||||
sendToClient(newt.newtId, {
|
||||
type: 'delete_peer',
|
||||
type: 'newt/wg/peer/remove',
|
||||
data: {
|
||||
publicKey
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user