mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-26 15:37:23 +00:00
Add support for channel handles (#3591)
This commit is contained in:
commit
3b8e6c6040
@ -132,6 +132,8 @@ module Invidious::Routing
|
|||||||
get "/c/:user#{path}", Routes::Channels, :brand_redirect
|
get "/c/:user#{path}", Routes::Channels, :brand_redirect
|
||||||
# /user/linustechtips | Not always the same as /c/
|
# /user/linustechtips | Not always the same as /c/
|
||||||
get "/user/:user#{path}", Routes::Channels, :brand_redirect
|
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
|
# /attribution_link?a=anything&u=/channel/UCZYTClx2T1of7BRZ86-8fow
|
||||||
get "/attribution_link#{path}", Routes::Channels, :brand_redirect
|
get "/attribution_link#{path}", Routes::Channels, :brand_redirect
|
||||||
# /profile?user=linustechtips
|
# /profile?user=linustechtips
|
||||||
|
Loading…
Reference in New Issue
Block a user