aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-10-26 21:12:13 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-10-27 12:13:12 +0300
commitdbe07f26c71a15a9426bf0ae9d4b29be2cb7cd49 (patch)
treecbe5fa9933990e2f89162b76321ee5ba9d35656b
parentbump dependencies (diff)
downloadwireguard-config-dbe07f26c71a15a9426bf0ae9d4b29be2cb7cd49.tar.gz
wireguard-config-dbe07f26c71a15a9426bf0ae9d4b29be2cb7cd49.zip
index.html: use baseurl Liquid filter
-rw-r--r--index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.html b/index.html
index 3c27900..d16756e 100644
--- a/index.html
+++ b/index.html
@@ -61,8 +61,9 @@ params:
configured on interface <code>wg0</code>.
You can then generate the new client's keys, feed them to this page and it will
show the configuration that can be easily consumed by the new client.</p>
+{% assign example_url = '?server_public_key=a&server_endpoint=b%3A123&server_preshared_key=c&client_public_key=d&client_private_key=e&client_ipv4=192.168.1.1%2F24&client_ipv6=fd%3A%3A%2F48' %}
<p class="text-muted">An example configuration (with bogus key values) can
-be seen <a href="https://egor-tensin.github.io/wireguard-config/?server_public_key=a&server_endpoint=b%3A123&server_preshared_key=c&client_public_key=d&client_private_key=e&client_ipv4=192.168.1.1%2F24&client_ipv6=fd%3A%3A%2F48">here</a>.</p>
+be seen <a href="{{ example_url | baseurl }}">here</a>.</p>
</div>
</div>