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: 1000 vids...

Christian Fei5b1b95a109a6
diff --git a/lib/repository.js b/lib/repository.js
index d25a713..979f1a2 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 < 500)
+ .filter((_, i) => i < 1000)
}
getVideo(id) {
return this.videos.find(v => v.id === id)