Browse Source
fixup: WireGuard.js
well I was on the client side so I hope I get all stuff fixed now.
pull/939/head
Philip H
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
0 deletions
-
src/lib/WireGuard.js
|
|
@ -143,6 +143,7 @@ ${client.preSharedKey ? `PresharedKey = ${client.preSharedKey}\n` : '' |
|
|
|
name: client.name, |
|
|
|
enabled: client.enabled, |
|
|
|
address: client.address, |
|
|
|
cidrBlock: client.cidrBlock, |
|
|
|
publicKey: client.publicKey, |
|
|
|
createdAt: new Date(client.createdAt), |
|
|
|
updatedAt: new Date(client.updatedAt), |
|
|
@ -259,6 +260,7 @@ Endpoint = ${WG_HOST}:${WG_PORT}`; |
|
|
|
id, |
|
|
|
name, |
|
|
|
address, |
|
|
|
cidrBlock, |
|
|
|
privateKey, |
|
|
|
publicKey, |
|
|
|
preSharedKey, |
|
|
|