mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Support handles
This commit is contained in:
parent
2a803dc067
commit
13bf4e9e00
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue