mirror of
https://github.com/iv-org/invidious.git
synced 2025-10-30 04:02:06 +00:00
Add /feed/top and /feed/popular
This commit is contained in:
@@ -1669,6 +1669,14 @@ end
|
||||
|
||||
# Feeds
|
||||
|
||||
get "/feed/top" do |env|
|
||||
templated "top"
|
||||
end
|
||||
|
||||
get "/feed/popular" do |env|
|
||||
templated "popular"
|
||||
end
|
||||
|
||||
get "/feed/trending" do |env|
|
||||
trending_type = env.params.query["type"]?
|
||||
region = env.params.query["region"]?
|
||||
|
||||
Reference in New Issue
Block a user