1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-06-08 18:36:36 +00:00

Preserve redirect with /r/ path prefix

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.
This commit is contained in:
Ben Busby 2022-01-27 10:56:10 -07:00
parent 724a995fd9
commit 2d90b9e43a
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1
4 changed files with 27 additions and 0 deletions

2
.gitignore vendored
View file

@ -11,3 +11,5 @@ erl_crash.dump
# Ignore results from update script
.update-result*
*.rdb