mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-11-18 00:19:22 +08:00
Binding web address
Ability to change whether app binds to 0.0.0.0 or other address (127.0.0.1, for proxying).
This commit is contained in:
parent
31d1cb96fc
commit
5248dfec77
@ -4,6 +4,7 @@ const { release } = require('./package.json');
|
|||||||
|
|
||||||
module.exports.RELEASE = release;
|
module.exports.RELEASE = release;
|
||||||
module.exports.PORT = process.env.PORT || 51821;
|
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.PASSWORD = process.env.PASSWORD;
|
||||||
module.exports.WG_PATH = process.env.WG_PATH || '/etc/wireguard/';
|
module.exports.WG_PATH = process.env.WG_PATH || '/etc/wireguard/';
|
||||||
module.exports.WG_HOST = process.env.WG_HOST;
|
module.exports.WG_HOST = process.env.WG_HOST;
|
||||||
|
Loading…
Reference in New Issue
Block a user