feat: descending sort
This commit is contained in:
parent
c0287ad4e0
commit
2f6a7688e9
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user