mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-02 09:05:49 +02:00
Merge branch 'main' of https://github.com/fosrl/pangolin
This commit is contained in:
commit
d244d6003b
1 changed files with 3 additions and 0 deletions
|
@ -159,6 +159,9 @@ export async function createTarget(
|
|||
})
|
||||
.returning();
|
||||
|
||||
// add the new target to the targetIps array
|
||||
targetIps.push(`${targetData.ip}/32`);
|
||||
|
||||
if (site.pubKey) {
|
||||
if (site.type == "wireguard") {
|
||||
await addPeer(site.exitNodeId!, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue