Browse Source

Update WireGuard.js

pull/150/head
jdeath 4 years ago
committed by GitHub
parent
commit
0b18ae3503
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/lib/WireGuard.js

2
src/lib/WireGuard.js

@ -106,7 +106,7 @@ AllowedIPs = ${client.address}/32`;
async __syncConfig() {
debug('Syncing config...');
await Util.exec(`wg syncconf ${WG_PATH}/wg0.conf <(wg-quick strip ${WG_PATH}/wg0.conf)`);
await Util.exec(`wg syncconf wg0 <(wg-quick strip ${WG_PATH}/wg0.conf)`);
debug('Config synced.');
}

Loading…
Cancel
Save