mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-23 00:29:53 +05:30
Routing: Add support for the '/live/<id>' route
This commit is contained in:
parent
49b9316b9f
commit
2425c47882
@ -158,6 +158,7 @@ module Invidious::Routing
|
|||||||
get "/watch", Routes::Watch, :handle
|
get "/watch", Routes::Watch, :handle
|
||||||
post "/watch_ajax", Routes::Watch, :mark_watched
|
post "/watch_ajax", Routes::Watch, :mark_watched
|
||||||
get "/watch/:id", Routes::Watch, :redirect
|
get "/watch/:id", Routes::Watch, :redirect
|
||||||
|
get "/live/:id", Routes::Watch, :redirect
|
||||||
get "/shorts/:id", Routes::Watch, :redirect
|
get "/shorts/:id", Routes::Watch, :redirect
|
||||||
get "/clip/:clip", Routes::Watch, :clip
|
get "/clip/:clip", Routes::Watch, :clip
|
||||||
get "/w/:id", Routes::Watch, :redirect
|
get "/w/:id", Routes::Watch, :redirect
|
||||||
|
Loading…
Reference in New Issue
Block a user