Add stub for '/timedtext_video'

pull/553/head
Omar Roth 2019-05-26 13:49:35 -05:00
rodzic 51c5f28443
commit c049ba59ff
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B8254FB7EC3D37F2
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -2950,6 +2950,12 @@ get "/profile" do |env|
end
end
# Page used by YouTube to provide captioning widget, since we
# don't support it we redirect to '/'
get "/timedtext_video" do |env|
env.redirect "/"
end
get "/user/:user" do |env|
user = env.params.url["user"]
env.redirect "/channel/#{user}"