summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMacic <macic@macic.dev>2023-01-26 01:19:12 +0100
committerMacic <macic@macic.dev>2023-01-26 01:19:12 +0100
commit13bf4e9e00030161165edf45b5e7d6e2ab1b3e30 (patch)
tree2277e44f0b453a46f79d4abbba83bc914f184b2e /src
parent2a803dc06709e1791dd3f56a97e838fa1c55de4e (diff)
downloadinvidious-13bf4e9e00030161165edf45b5e7d6e2ab1b3e30.tar.gz
invidious-13bf4e9e00030161165edf45b5e7d6e2ab1b3e30.tar.bz2
invidious-13bf4e9e00030161165edf45b5e7d6e2ab1b3e30.zip
Support handles
Diffstat (limited to 'src')
-rw-r--r--src/invidious/routing.cr2
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