mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-16 01:48:51 +00:00
Routes: Redirect unknown channel tabs to channel home page
This commit is contained in:
@@ -131,7 +131,7 @@ module Invidious::Routing
|
||||
|
||||
# Channel catch-all, to redirect future routes to the channel's home
|
||||
# NOTE: defined last in order to be processed after the other routes
|
||||
get "/channel/:ucid/*", Routes::Channels, :home
|
||||
get "/channel/:ucid/*", Routes::Channels, :redirect_home
|
||||
|
||||
# /c/LinusTechTips
|
||||
get "/c/:user", Routes::Channels, :brand_redirect
|
||||
|
||||
Reference in New Issue
Block a user