mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Keep search and hash when redirecting
This commit is contained in:
parent
8dad4f386d
commit
3eb22a3aea
1 changed files with 5 additions and 2 deletions
|
@ -1,8 +1,11 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="Refresh" content="0; url={target}">
|
<noscript><meta http-equiv="Refresh" content="0; url={target}"></noscript>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link href="https://github.com/Kozea/Radicale/releases.atom" type="application/atom+xml" rel="alternate" title="Radicale Releases">
|
<link href="https://github.com/Kozea/Radicale/releases.atom" type="application/atom+xml" rel="alternate" title="Radicale Releases">
|
||||||
<title>Redirect</title>
|
<title>Redirect</title>
|
||||||
<p>Please follow <a href="{target}">this link</a>.</p>
|
<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 || "");
|
||||||
|
</script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue