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

pull/4099/head
Samantaz Fox 2023-09-13 23:41:31 +02:00
rodzic 49b9316b9f
commit 2425c47882
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F42821059186176E
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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