mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-26 06:46:40 +00:00
Make sure to include new target
This commit is contained in:
@@ -159,6 +159,9 @@ export async function createTarget(
|
|||||||
})
|
})
|
||||||
.returning();
|
.returning();
|
||||||
|
|
||||||
|
// add the new target to the targetIps array
|
||||||
|
targetIps.push(`${targetData.ip}/32`);
|
||||||
|
|
||||||
if (site.pubKey) {
|
if (site.pubKey) {
|
||||||
if (site.type == "wireguard") {
|
if (site.type == "wireguard") {
|
||||||
await addPeer(site.exitNodeId!, {
|
await addPeer(site.exitNodeId!, {
|
||||||
|
|||||||
Reference in New Issue
Block a user