Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

chore: limit to 100 videos

Christian Fei26bb64e81048
diff --git a/lib/repository.js b/lib/repository.js
index fdd7d3d..48f9243 100644
--- a/lib/repository.js
+++ b/lib/repository.js
@@ -124,7 +124,7 @@ export default class Repository {
videos.sort((a, b) => +new Date(b.publishedAt) - +new Date(a.publishedAt))
- videos = videos.filter((_, i) => i < 500)
+ videos = videos.filter((_, i) => i < 100)
return videos
}