diff --git a/src/invidious.cr b/src/invidious.cr index 5fa57ea4..ef4214d0 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -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"]? diff --git a/src/invidious/views/popular.ecr b/src/invidious/views/popular.ecr new file mode 100644 index 00000000..6cd3d8d6 --- /dev/null +++ b/src/invidious/views/popular.ecr @@ -0,0 +1,7 @@ +