mirror of
https://github.com/benbusby/farside.git
synced 2025-06-08 10:26:36 +00:00
Use "_" path prefix, update readme
This commit is contained in:
parent
2d90b9e43a
commit
4067ef431a
2 changed files with 7 additions and 1 deletions
|
@ -55,6 +55,12 @@ Farside's routing is very minimal, with only the following routes:
|
|||
URL>/r/popular`
|
||||
- Note that a path is not required. `/libreddit` for example will still
|
||||
redirect the user to a working libreddit instance
|
||||
- `/_/:service/*glob`
|
||||
- Achieves the same redirect as the main `/:service/*glob` endpoint, but
|
||||
preserves a short landing page in the browser's history to allow quickly
|
||||
jumping between instances by navigating back.
|
||||
- Ex: `/_/nitter` -> nitter instance A -> (navigate back one page) -> nitter
|
||||
instance B -> ...
|
||||
|
||||
When a service is requested with the `/:service/...` endpoint, Farside requests
|
||||
the list of working instances from Redis and returns a random one from the list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue