mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-02 00:43:05 +05:30
Add /user/:user/videos
This commit is contained in:
parent
e6d2166bac
commit
d81a803618
@ -1606,6 +1606,11 @@ get "/user/:user" do |env|
|
||||
env.redirect "/channel/#{user}"
|
||||
end
|
||||
|
||||
get "/user/:user/videos" do |env|
|
||||
user = env.params.url["user"]
|
||||
env.redirect "/channel/#{user}/videos"
|
||||
end
|
||||
|
||||
get "/channel/:ucid" do |env|
|
||||
user = env.get? "user"
|
||||
if user
|
||||
|
Loading…
Reference in New Issue
Block a user