mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-12-23 01:29:24 +08:00
feat(WireGuard): return client data by createClient.
This commit is contained in:
parent
bbd19b7a6f
commit
8f66d11e3f
@ -261,6 +261,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…
Reference in New Issue
Block a user