diff --git a/_config.yml b/_config.yml index c7899da..3c9f729 100644 --- a/_config.yml +++ b/_config.yml @@ -45,6 +45,7 @@ simplewall_comparison_url: /blog/2022/04/11/portmaster-vs-simplewall/ ### external account_server_url: https://account.safing.io/ +account_server_redeem_url: https://account.safing.io/redeem assets_server_url: https://assets.safing.io/ company_agreement_url: https://www.firmenmonitor.at/Secure/CompanyDetail.aspx?CID=761761 download_linux_deb_url: https://updates.safing.io/latest/linux_amd64/packages/portmaster-installer.deb diff --git a/redeem.html b/redeem.html new file mode 100644 index 0000000..b65cc5f --- /dev/null +++ b/redeem.html @@ -0,0 +1,21 @@ +--- +layout: null +--- +<!DOCTYPE html> +<html lang="en-US"> + <meta charset="utf-8"> + <title>Redirecting…</title> + <link rel="canonical" href="{{ site.account_server_redeem_url }}"> + <script> + let params = new URLSearchParams(document.location.search); + if (params.has("code")) { + location="{{ site.account_server_redeem_url }}?code=" + params.get("code"); + } else { + location="{{ site.account_server_redeem_url }}"; + } + </script> + <meta http-equiv="refresh" content="0; url={{ site.account_server_redeem_url }}"> + <meta name="robots" content="noindex"> + <h1>Redirecting…</h1> + <a href="{{ site.account_server_redeem_url }}">Click here if you are not redirected.</a> +</html>