Changeset 857a06f in Klonkt for src/routes/activitypub.js
- Timestamp:
- 06/30/2026 05:43:39 PM (2 months ago)
- Branches:
- main
- Children:
- 7ecbefc
- Parents:
- b5a09ce2
- File:
-
- 1 edited
-
src/routes/activitypub.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/activitypub.js
rb5a09ce2 r857a06f 76 76 if (!site) return res.status(404).end(); 77 77 const posts = db.prepare( 78 `SELECT id, slug, title, content, cover_image_url, nsfw, content_warning, published_at, created_at78 `SELECT id, slug, title, content, cover_image_url, cover_video_url, nsfw, content_warning, published_at, created_at 79 79 FROM posts WHERE site_id = ? AND status = 'published' AND (fan_only IS NULL OR fan_only = 0) 80 80 ORDER BY COALESCE(published_at, created_at) DESC LIMIT 20` … … 108 108 // rank 1 last) → Mastodon flips it back to pin-rank ascending on the profile. 109 109 const posts = db.prepare( 110 `SELECT id, slug, title, content, cover_image_url, nsfw, content_warning, published_at, created_at110 `SELECT id, slug, title, content, cover_image_url, cover_video_url, nsfw, content_warning, published_at, created_at 111 111 FROM posts WHERE site_id = ? AND status = 'published' AND (fan_only IS NULL OR fan_only = 0) 112 112 AND pinned IS NOT NULL AND pinned > 0
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)