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: 2000 vids

Christian Fei676a45857e5f
diff --git a/lib/repository.js b/lib/repository.js
index a7be119..831f736 100644
--- a/lib/repository.js
+++ b/lib/repository.js
@@ -34,7 +34,7 @@ export default class Repository {
getVideos () {
return this.videos
.sort((a, b) => +new Date(b.publishedAt) - +new Date(a.publishedAt))
- .filter((_, i) => i < 1000)
+ .filter((_, i) => i < 2000)
}
getVideo(id) {
return this.videos.find(v => v.id === id)