Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
syeopite opened this issue Mar 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@syeopite
Copy link
Member

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 syeopite added the bug Something isn't working label Mar 28, 2024
@SamantazFox
Copy link
Member

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?

@syeopite
Copy link
Member Author

Sounds good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants