mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-04 18:22:26 +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>
|
<title>Redirect</title>
|
||||||
<p>Please follow <a href="{target}" id="link">this link</a>.</p>
|
<p>Please follow <a href="{target}" id="link">this link</a>.</p>
|
||||||
<script>
|
<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>
|
</script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue