diff --git a/pages/index.js b/pages/index.js index c8fd6b5..097d538 100644 --- a/pages/index.js +++ b/pages/index.js @@ -87,7 +87,7 @@ export async function getStaticProps() { id, url: `https://${minioEndpoint}/${minioBucket}/${id}`, previewPath: `https://${minioEndpoint}/${minioBucket}/${id}`, - })); + })).sort().reverse(); const getPeertubeFeeds = await fetch(process.env.PEERTUBE_FEED_URL); const peertubeFeeds = await getPeertubeFeeds.text();