Update Server.js

This commit is contained in:
Fastidious
2021-07-17 10:20:46 -04:00
committed by GitHub
parent 534fb0ab79
commit b3ab0a9ddf

View File

@@ -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}`);
}); });
} }