forked from mirrors/amnezia-wg-easy
Merge pull request #216 from murka/patch-1
feat(WireGuard): return client data by createClient.
This commit is contained in:
commit
b72bcce052
1 changed files with 2 additions and 0 deletions
|
@ -265,6 +265,8 @@ Endpoint = ${WG_HOST}:${WG_PORT}`;
|
||||||
config.clients[clientId] = client;
|
config.clients[clientId] = client;
|
||||||
|
|
||||||
await this.saveConfig();
|
await this.saveConfig();
|
||||||
|
|
||||||
|
return client;
|
||||||
}
|
}
|
||||||
|
|
||||||
async deleteClient({ clientId }) {
|
async deleteClient({ clientId }) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue