feat: add piefed metadata generation

This commit is contained in:
Xylight committed 2025-12-04 17:50:14 -08:00
1 parent c448af3177
commit 1d5d1ddcc1
9 files changed
+327 -60

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ export async function load({ url, fetch }) {
const sort = url.searchParams.get('sort') || 'New'
const type =
url.searchParams.get('type') ||
(client() instanceof PiefedClient ? 'Posts' : 'All')
(profile.client instanceof PiefedClient ? 'Posts' : 'All')
const listing_type =
(url.searchParams.get('listing_type') as ListingType) || 'All'