From 932f3bbcab9be82aafb487d7890fde83b2210a7b Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Thu, 27 Jan 2022 11:57:41 -0700 Subject: Preserve redirect with `/_/` path prefix (#13) This adds a straightforward way of preserving Farside's redirecting behavior in the user's browser history. That way if an instance becomes unavailable between the 5 min scans, the user can opt to navigate back one page and be taken to a new instance. This is accomplished using a single line of JS, and could potentially work as the default behavior of Farside (with the current default behavior requiring a path prefix instead). This should be revisited down the road when more people are using this service. --- route.eex | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 route.eex (limited to 'route.eex') diff --git a/route.eex b/route.eex new file mode 100644 index 0000000..a06a265 --- /dev/null +++ b/route.eex @@ -0,0 +1,10 @@ + + Farside Redirect - <%= service %> + + + + + Redirecting to <%= service %> instance... + -- cgit v1.2.3