1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-04-29 23:20:03 +00:00

Include query params for all /_/ prefixed links

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.
This commit is contained in:
Ben Busby 2022-06-13 10:20:39 -06:00
parent 213658ae6c
commit 6210ed56e7
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1
2 changed files with 14 additions and 14 deletions

View file

@ -1,10 +1,10 @@
<head>
<title>Farside Redirect - <%= service %></title>
<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 <%= service %> instance...
<span>Redirecting to <%= instance_url %>...</span>
</body>