From 6a0a5a10beba9db866e37e905dc99100f6b39228 Mon Sep 17 00:00:00 2001 From: Fastidious Date: Sat, 17 Jul 2021 10:19:17 -0400 Subject: [PATCH] Update WireGuard.js --- src/lib/WireGuard.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/WireGuard.js b/src/lib/WireGuard.js index 5a5086e..80af6c4 100644 --- a/src/lib/WireGuard.js +++ b/src/lib/WireGuard.js @@ -16,7 +16,7 @@ const { WG_PORT, WG_DEFAULT_DNS, WG_DEFAULT_ADDRESS, - WG_PERSISTENTKEEPALIVE; + WG_PERSISTENT_KEEPALIVE; WG_ALLOWED_IPS, } = require('../config'); @@ -182,7 +182,7 @@ ${WG_DEFAULT_DNS ? `DNS = ${WG_DEFAULT_DNS}` : ''} PublicKey = ${config.server.publicKey} PresharedKey = ${client.preSharedKey} AllowedIPs = ${WG_ALLOWED_IPS} -PersistentKeepalive = ${WG_PERSISTENTKEEPALIVE} +PersistentKeepalive = ${WG_PERSISTENT_KEEPALIVE} Endpoint = ${WG_HOST}:${WG_PORT}`; }