mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-12-22 17:19:23 +08:00
Merge pull request #216 from murka/patch-1
feat(WireGuard): return client data by createClient.
This commit is contained in:
commit
b72bcce052
@ -265,6 +265,8 @@ Endpoint = ${WG_HOST}:${WG_PORT}`;
|
||||
config.clients[clientId] = client;
|
||||
|
||||
await this.saveConfig();
|
||||
|
||||
return client;
|
||||
}
|
||||
|
||||
async deleteClient({ clientId }) {
|
||||
|
Loading…
Reference in New Issue
Block a user