diff --git a/README.md b/README.md index 8ea122a..33b99e3 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ ```bash $ docker run \ --name wg-easy \ + --env WG_HOST=192.168.1.2 \ --mount type=bind,source="$(pwd)",target=/etc/wireguard \ --cap-add=NET_ADMIN \ --cap-add=SYS_MODULE \ diff --git a/src/lib/WireGuard.js b/src/lib/WireGuard.js index 0a08e0a..b91b6be 100644 --- a/src/lib/WireGuard.js +++ b/src/lib/WireGuard.js @@ -46,6 +46,7 @@ module.exports = class WireGuard { }, clients: {}, }; + debug('Configuration generated.'); } await this.__saveConfig(config);