Browse Source

Update Server.js

pull/46/head
Fastidious 4 years ago
committed by GitHub
parent
commit
b3ab0a9ddf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/lib/Server.js

5
src/lib/Server.js

@ -14,7 +14,6 @@ const {
PORT, PORT,
RELEASE, RELEASE,
PASSWORD, PASSWORD,
WEBHOST,
} = require('../config'); } = require('../config');
module.exports = class Server { module.exports = class Server {
@ -131,8 +130,8 @@ module.exports = class Server {
return WireGuard.updateClientAddress({ clientId, address }); return WireGuard.updateClientAddress({ clientId, address });
})) }))
.listen(PORT,WEBHOST, () => { .listen(PORT, () => {
debug(`Listening on http://${WEBHOST}:${PORT}`); debug(`Listening on http://0.0.0.0:${PORT}`);
}); });
} }

Loading…
Cancel
Save