Browse Source

Fixed log revert

pull/238/head
joshuakraitberg 5 years ago
parent
commit
2198fafc66
  1. 2
      src/lib/WireGuard.js

2
src/lib/WireGuard.js

@ -252,7 +252,7 @@ Endpoint = ${WG_HOST}:${WG_PORT}`;
const config = await this.getConfig();
const privateKey = await Util.exec('wg genkey');
const publicKey = await Util.exec(`echo ${privateKey} | wg pubkey`);
const publicKey = await Util.exec(`echo ${privateKey} | wg pubkey`, privateKey);
const preSharedKey = await Util.exec('wg genpsk');
// Calculate next IP

Loading…
Cancel
Save