mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Add stub for '/timedtext_video'
This commit is contained in:
parent
51c5f28443
commit
c049ba59ff
1 changed files with 6 additions and 0 deletions
|
@ -2950,6 +2950,12 @@ get "/profile" do |env|
|
||||||
end
|
end
|
||||||
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|
|
get "/user/:user" do |env|
|
||||||
user = env.params.url["user"]
|
user = env.params.url["user"]
|
||||||
env.redirect "/channel/#{user}"
|
env.redirect "/channel/#{user}"
|
||||||
|
|
Loading…
Reference in a new issue