mirror of
https://github.com/WeeJeWel/wg-easy.git
synced 2024-12-22 17:19:23 +08:00
Update Server.js
This commit is contained in:
parent
534fb0ab79
commit
b3ab0a9ddf
@ -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}`);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user