Browse Source

Binding web address

Ability to change whether app binds to 0.0.0.0 or other address (127.0.0.1, for proxying).
pull/46/head
Fastidious 4 years ago
committed by GitHub
parent
commit
5248dfec77
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/config.js

1
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;

Loading…
Cancel
Save