From 5248dfec77174ac194e976ef4a5271ef8e8aa721 Mon Sep 17 00:00:00 2001 From: Fastidious Date: Thu, 15 Jul 2021 06:54:08 -0400 Subject: [PATCH] Binding web address Ability to change whether app binds to 0.0.0.0 or other address (127.0.0.1, for proxying). --- src/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.js b/src/config.js index 18f99c1..0184974 100644 --- a/src/config.js +++ b/src/config.js @@ -4,6 +4,7 @@ const { release } = require('./package.json'); module.exports.RELEASE = release; module.exports.PORT = process.env.PORT || 51821; +module.exports.WEBHOST = process.env.WEBHOST || '0.0.0.0'; module.exports.PASSWORD = process.env.PASSWORD; module.exports.WG_PATH = process.env.WG_PATH || '/etc/wireguard/'; module.exports.WG_HOST = process.env.WG_HOST;