6210ed56e7
Query params were not included when using the "/_/" prefix for farside links. This extracts the logic for parsing query params into a function that is then used for both /_/ and non-/_/ links.
10 lines
261 B
Elixir
10 lines
261 B
Elixir
<head>
|
|
<title>Farside Redirect</title>
|
|
<meta http-equiv="refresh" content="1; url=<%= instance_url %>">
|
|
<script>
|
|
history.pushState({page: 1}, "Farside Redirect");
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<span>Redirecting to <%= instance_url %>...</span>
|
|
</body>
|