feat: descending sort

This commit is contained in:
rizaldy 2024-02-01 01:44:54 +07:00
parent c0287ad4e0
commit 2f6a7688e9

View File

@ -87,7 +87,7 @@ export async function getStaticProps() {
id, id,
url: `https://${minioEndpoint}/${minioBucket}/${id}`, url: `https://${minioEndpoint}/${minioBucket}/${id}`,
previewPath: `https://${minioEndpoint}/${minioBucket}/${id}`, previewPath: `https://${minioEndpoint}/${minioBucket}/${id}`,
})); })).sort().reverse();
const getPeertubeFeeds = await fetch(process.env.PEERTUBE_FEED_URL); const getPeertubeFeeds = await fetch(process.env.PEERTUBE_FEED_URL);
const peertubeFeeds = await getPeertubeFeeds.text(); const peertubeFeeds = await getPeertubeFeeds.text();