diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2023-01-26 06:58:20 +0100 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2023-01-26 06:58:20 +0100 |
| commit | 3b8e6c6040fe341fe4b9fc16cdbd3aea697dfad3 (patch) | |
| tree | 2277e44f0b453a46f79d4abbba83bc914f184b2e | |
| parent | 2a803dc06709e1791dd3f56a97e838fa1c55de4e (diff) | |
| parent | 13bf4e9e00030161165edf45b5e7d6e2ab1b3e30 (diff) | |
| download | invidious-3b8e6c6040fe341fe4b9fc16cdbd3aea697dfad3.tar.gz invidious-3b8e6c6040fe341fe4b9fc16cdbd3aea697dfad3.tar.bz2 invidious-3b8e6c6040fe341fe4b9fc16cdbd3aea697dfad3.zip | |
Add support for channel handles (#3591)
| -rw-r--r-- | src/invidious/routing.cr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/invidious/routing.cr b/src/invidious/routing.cr index 491022a5..157e6de7 100644 --- a/src/invidious/routing.cr +++ b/src/invidious/routing.cr @@ -132,6 +132,8 @@ module Invidious::Routing get "/c/:user#{path}", Routes::Channels, :brand_redirect # /user/linustechtips | Not always the same as /c/ get "/user/:user#{path}", Routes::Channels, :brand_redirect + # /@LinusTechTips | Handle + get "/@:user#{path}", Routes::Channels, :brand_redirect # /attribution_link?a=anything&u=/channel/UCZYTClx2T1of7BRZ86-8fow get "/attribution_link#{path}", Routes::Channels, :brand_redirect # /profile?user=linustechtips |
