diff --git a/README.md b/README.md index 0940706..ee3bb44 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ Set the `SESSION_SECRET` environment variable to a random value. To use custom `wg.conf` template set the `WG_CONF_TEMPLATE` environment variable to a path to such file. Make sure `wireguard-ui` will be able to work with it - use [default template](templates/wg.conf) for reference. +Set the `BASE_PATH` environment variable if you run wireguard-ui under a subpath of your reverse proxy virtual host (e.g. /wireguard). + In order to sent the wireguard configuration to clients via email, set the following environment variables: - using SendGrid API diff --git a/custom/js/helper.js b/custom/js/helper.js index b742472..86f6dc7 100644 --- a/custom/js/helper.js +++ b/custom/js/helper.js @@ -26,7 +26,7 @@ function renderClientList(data) {