diff --git a/src/invidious/helpers/errors.cr b/src/invidious/helpers/errors.cr index 0ff87954..a4738b2b 100644 --- a/src/invidious/helpers/errors.cr +++ b/src/invidious/helpers/errors.cr @@ -182,7 +182,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") - html = return <<-END_HTML + html = <<-END_HTML

#{next_steps_text}