mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Replace location for redirects
This commit is contained in:
parent
1aaf131e58
commit
8ff15acd42
1 changed files with 2 additions and 1 deletions
|
@ -7,5 +7,6 @@
|
|||
<title>Redirect</title>
|
||||
<p>Please follow <a href="{target}" id="link">this link</a>.</p>
|
||||
<script>
|
||||
window.location.href = link.href = "{target}" + (window.location.search || "") + (window.location.hash || "");
|
||||
link.href += (window.location.search || "") + (window.location.hash || "");
|
||||
window.location.replace(link.href);
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue