mirror of
https://github.com/safing/web
synced 2025-04-07 12:39:08 +00:00
Add redirect page for /redeem
This commit is contained in:
parent
ecb2c2ee96
commit
4ab1b62bc1
2 changed files with 22 additions and 0 deletions
|
@ -45,6 +45,7 @@ simplewall_comparison_url: /blog/2022/04/11/portmaster-vs-simplewall/
|
||||||
|
|
||||||
### external
|
### external
|
||||||
account_server_url: https://account.safing.io/
|
account_server_url: https://account.safing.io/
|
||||||
|
account_server_redeem_url: https://account.safing.io/redeem
|
||||||
assets_server_url: https://assets.safing.io/
|
assets_server_url: https://assets.safing.io/
|
||||||
company_agreement_url: https://www.firmenmonitor.at/Secure/CompanyDetail.aspx?CID=761761
|
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
|
download_linux_deb_url: https://updates.safing.io/latest/linux_amd64/packages/portmaster-installer.deb
|
||||||
|
|
21
redeem.html
Normal file
21
redeem.html
Normal file
|
@ -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>
|
Loading…
Add table
Reference in a new issue