Update Server.js

This commit is contained in:
Fastidious 2021-07-17 10:20:46 -04:00 committed by GitHub
parent 534fb0ab79
commit b3ab0a9ddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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