Browse Source

fixup: WireGuard.js

pull/939/head
Philip H 1 year ago
committed by GitHub
parent
commit
63faf4c507
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/lib/WireGuard.js

2
src/lib/WireGuard.js

@ -204,7 +204,7 @@ ${client.preSharedKey ? `PresharedKey = ${client.preSharedKey}\n` : ''
return `[Interface]
PrivateKey = ${client.privateKey}
Address = ${client.address}/${config.server.cidrBlock}
Address = ${client.address}/${client.cidrBlock}
${WG_DEFAULT_DNS ? `DNS = ${WG_DEFAULT_DNS}\n` : ''}\
${WG_MTU ? `MTU = ${WG_MTU}\n` : ''}\

Loading…
Cancel
Save