diff --git a/src/invidious/helpers/errors.cr b/src/invidious/helpers/errors.cr index 718ee3e1..1d2d1b33 100644 --- a/src/invidious/helpers/errors.cr +++ b/src/invidious/helpers/errors.cr @@ -180,7 +180,7 @@ def error_redirect_helper(env : HTTP::Server::Context) go_to_youtube = translate(locale, "next_steps_error_message_go_to_youtube") switch_instance = translate(locale, "Switch Invidious Instance") - if request_path.startswith?("/watch") && CONFIG.alltube_url + if request_path.starts_with?("/watch") && CONFIG.alltube_url go_to_alltube = translate(locale, "next_steps_error_message_go_to_alltube") alltube_part = <<-END_HTML