Browse Source

feat(WireGuard): return client data by createClient.

pull/216/head
Danil Shaymurzin 3 years ago
committed by GitHub
parent
commit
8f66d11e3f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/lib/WireGuard.js

2
src/lib/WireGuard.js

@ -261,6 +261,8 @@ Endpoint = ${WG_HOST}:${WG_PORT}`;
config.clients[clientId] = client;
await this.saveConfig();
return client;
}
async deleteClient({ clientId }) {

Loading…
Cancel
Save