From 7dbe292d4df1087dc7777e175e66dfdb2b23f4e4 Mon Sep 17 00:00:00 2001 From: jdeath <17914369+jdeath@users.noreply.github.com> Date: Wed, 22 Dec 2021 14:15:31 -0500 Subject: [PATCH] Update WireGuard.js --- src/lib/WireGuard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/WireGuard.js b/src/lib/WireGuard.js index bf308af5..b5cbf198 100644 --- a/src/lib/WireGuard.js +++ b/src/lib/WireGuard.js @@ -106,7 +106,7 @@ AllowedIPs = ${client.address}/32`; async __syncConfig() { debug('Syncing config...'); - await Util.exec('wg syncconf wg0 <(wg-quick strip wg0)'); + await Util.exec(`wg syncconf ${WG_PATH}/wg0.conf <(wg-quick strip ${WG_PATH}/wg0.conf)`); debug('Config synced.'); }