mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 01:55:10 +02:00
Update ws paths
This commit is contained in:
parent
bec303821b
commit
ef69bf9256
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue