diff options
| author | syeopite <syeopite@syeopite.dev> | 2025-02-26 14:05:21 -0800 |
|---|---|---|
| committer | syeopite <syeopite@syeopite.dev> | 2025-02-26 14:05:21 -0800 |
| commit | c5e9447f41735a3c2de13a6ae8ec80ef7800b06c (patch) | |
| tree | 0b0dfa8bf60e8ff62e085bafc46fce0a578a2146 /locales | |
| parent | 3e329410d1f6426f49d0df425b31e78e9503bd9d (diff) | |
| parent | a77f083a0ab6d018023791d113cfbf97a05f315d (diff) | |
| download | invidious-c5e9447f41735a3c2de13a6ae8ec80ef7800b06c.tar.gz invidious-c5e9447f41735a3c2de13a6ae8ec80ef7800b06c.tar.bz2 invidious-c5e9447f41735a3c2de13a6ae8ec80ef7800b06c.zip | |
Pick a different instance upon redirect (#5154)
The automatic instance redirection has the potential to pick
the same instance the user is currently on. This is especially
prevalent when the instance list is limited in number like how it is
today.
This PR checks the domain of the instance and ensures that it is not
the same as the current instane before redirecting the user to it.
Otherwise, it just sends the user to rediret.invidious.io
Diffstat (limited to 'locales')
0 files changed, 0 insertions, 0 deletions
