invidious icon indicating copy to clipboard operation
invidious copied to clipboard

[Bug] Instance redirect link in error template does not follow user preferences

Open syeopite opened this issue 1 year ago • 2 comments

Describe the bug

The redirect links in the error templates does not follow the users preference on whether to automatically redirect or not.

Steps to Reproduce

Get an info exception, see that the switch instance link is a link to /redirect

Get a standard exception, see that the switch instance link is a link to https://redirect.invidious.io

Logs

Screenshots

Additional context

syeopite avatar Mar 28 '24 06:03 syeopite

Good catch! I think that we should always link to /redirect and let that endpoint handle the appropriate logic. that woould reduce the amount of duplicate code everywhere. What do you think?

SamantazFox avatar Apr 20 '24 14:04 SamantazFox

Sounds good to me

syeopite avatar Apr 26 '24 21:04 syeopite