diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-05-26 13:49:35 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2019-05-26 13:49:35 -0500 |
| commit | c049ba59ff1a9c7f7608b94cff30cc840ed13c75 (patch) | |
| tree | f20b59b7b80e7d1255f168ad7c25098d0f24085e /src | |
| parent | 51c5f2844360dd84b1bc3dc4c0318791b8da6b82 (diff) | |
| download | invidious-c049ba59ff1a9c7f7608b94cff30cc840ed13c75.tar.gz invidious-c049ba59ff1a9c7f7608b94cff30cc840ed13c75.tar.bz2 invidious-c049ba59ff1a9c7f7608b94cff30cc840ed13c75.zip | |
Add stub for '/timedtext_video'
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious.cr | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index 53cbcef0..b37550e2 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -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}" |
