Browse Source

fixup WireGuard.js

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

2
src/lib/WireGuard.js

@ -211,7 +211,7 @@ ${client.preSharedKey ? `PresharedKey = ${client.preSharedKey}\n` : ''
[Interface]
PrivateKey = ${client.privateKey ? `${client.privateKey}` : 'REPLACE_ME'}
Address = ${client.address}/24, ${client.address6}/64
${WG_DEFAULT_DNS ? `DNS = ${WG_DEFAULT_DNS}\n` : ''}\
${isDnsSet ? `DNS = ${dnsServers}\n` : ''}\
${WG_MTU ? `MTU = ${WG_MTU}\n` : ''}\
[Peer]

Loading…
Cancel
Save