Routing: Add support for the '/live/<id>' route

This commit is contained in:
Samantaz Fox 2023-09-13 23:41:31 +02:00
parent 49b9316b9f
commit 2425c47882
No known key found for this signature in database
GPG Key ID: F42821059186176E
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ module Invidious::Routing
get "/watch", Routes::Watch, :handle
post "/watch_ajax", Routes::Watch, :mark_watched
get "/watch/:id", Routes::Watch, :redirect
get "/live/:id", Routes::Watch, :redirect
get "/shorts/:id", Routes::Watch, :redirect
get "/clip/:clip", Routes::Watch, :clip
get "/w/:id", Routes::Watch, :redirect