Feat: Server Endpoint (#1785)
* add server endpoint to client * be able to update endpoint over api
This commit is contained in:
@@ -34,6 +34,8 @@ class WireGuard {
|
||||
result.push(wg.generateServerPeer(client));
|
||||
}
|
||||
|
||||
result.push('');
|
||||
|
||||
WG_DEBUG('Saving Config...');
|
||||
await fs.writeFile(
|
||||
`/etc/wireguard/${wgInterface.name}.conf`,
|
||||
|
||||
Reference in New Issue
Block a user