mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-13 10:03:59 +01:00
Update errors.cr
This commit is contained in:
parent
6b17bb5250
commit
2b36d3b419
@ -1,6 +1,6 @@
|
||||
module Invidious::Routes::ErrorRoutes
|
||||
def self.error_404(env)
|
||||
# Workaround for # 3117
|
||||
# Workaround for #3117
|
||||
if HOST_URL.empty? && env.request.path.starts_with?("/v1/storyboards/sb")
|
||||
return env.redirect "#{env.request.path[15..]}?#{env.params.query}"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user