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
parent
commit
754b5f29af
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/lib/WireGuard.js

2
src/lib/WireGuard.js

@ -143,6 +143,7 @@ ${client.preSharedKey ? `PresharedKey = ${client.preSharedKey}\n` : ''
name: client.name, name: client.name,
enabled: client.enabled, enabled: client.enabled,
address: client.address, address: client.address,
cidrBlock: client.cidrBlock,
publicKey: client.publicKey, publicKey: client.publicKey,
createdAt: new Date(client.createdAt), createdAt: new Date(client.createdAt),
updatedAt: new Date(client.updatedAt), updatedAt: new Date(client.updatedAt),
@ -259,6 +260,7 @@ Endpoint = ${WG_HOST}:${WG_PORT}`;
id, id,
name, name,
address, address,
cidrBlock,
privateKey, privateKey,
publicKey, publicKey,
preSharedKey, preSharedKey,

Loading…
Cancel
Save