summaryrefslogtreecommitdiff
path: root/route.eex
diff options
context:
space:
mode:
authorBen Busby <contact@benbusby.com>2022-06-13 10:20:39 -0600
committerBen Busby <contact@benbusby.com>2022-06-13 10:20:39 -0600
commit6210ed56e7bcb6bdbc5cd640001874cf0926f136 (patch)
tree541d992ee4fd914a0f97fc02362f397d77835196 /route.eex
parent213658ae6c68e192d3a5c5f24943b4753f954a01 (diff)
downloadfarside-6210ed56e7bcb6bdbc5cd640001874cf0926f136.tar.gz
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.
Diffstat (limited to 'route.eex')
-rw-r--r--route.eex4
1 files changed, 2 insertions, 2 deletions
diff --git a/route.eex b/route.eex
index a06a265..55538c7 100644
--- a/route.eex
+++ b/route.eex
@@ -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>