mirror of https://github.com/iv-org/invidious.git
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