Skip to content

Invidious is an alternative front-end to YouTube

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

Samantaz Fox2425c47882fe
diff --git a/src/invidious/routing.cr b/src/invidious/routing.cr
index 5ec7fae3..f6b3aaa6 100644
--- a/src/invidious/routing.cr
+++ b/src/invidious/routing.cr
@@ -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