diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2023-09-13 23:41:31 +0200 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2023-09-13 23:41:31 +0200 |
| commit | 2425c47882feaa56a69f6ba842cf1cb9d5b450e0 (patch) | |
| tree | 7e67eb5ca81776d34c4b8a3e607e7f686ec43108 /src | |
| parent | 49b9316b9f2e9ccc6921a2f293abacb37f9805f6 (diff) | |
| download | invidious-2425c47882feaa56a69f6ba842cf1cb9d5b450e0.tar.gz invidious-2425c47882feaa56a69f6ba842cf1cb9d5b450e0.tar.bz2 invidious-2425c47882feaa56a69f6ba842cf1cb9d5b450e0.zip | |
Routing: Add support for the '/live/<id>' route
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/routing.cr | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
