Update rekey endpoints and pages

This commit is contained in:
Owen
2025-12-05 18:30:32 -05:00
parent 313d3c72da
commit d1c7832e40
9 changed files with 238 additions and 148 deletions

View File

@@ -103,8 +103,6 @@ PersistentKeepalive = 5`;
await api.post(`/re-key/${site?.siteId}/regenerate-site-secret`, {
type: "wireguard",
subnet: res.data.data.subnet,
exitNodeId: res.data.data.exitNodeId,
pubKey: generatedPublicKey
});
}
@@ -119,8 +117,7 @@ PersistentKeepalive = 5`;
`/re-key/${site?.siteId}/regenerate-site-secret`,
{
type: "newt",
newtId: data.newtId,
newtSecret: data.newtSecret
secret: data.newtSecret
}
);
}