From 54d4c0da45877cf86e164c0d98988453d649043a Mon Sep 17 00:00:00 2001 From: BrainStone Date: Tue, 11 Oct 2022 01:48:37 +0200 Subject: [PATCH] Properly use variable expansion --- 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 b4cd2f82..94d987d4 100644 --- a/src/lib/WireGuard.js +++ b/src/lib/WireGuard.js @@ -99,7 +99,7 @@ module.exports = class WireGuard { [Interface] PrivateKey = ${config.server.privateKey} Address = ${config.server.address}${address.subnet} -ListenPort = WG_PORT +ListenPort = ${WG_PORT} PreUp = ${WG_PRE_UP} PostUp = ${WG_POST_UP} PreDown = ${WG_PRE_DOWN}