Changeset dc41bef in Klonkt for src/routes/posts.js
- Timestamp:
- 07/01/2026 06:23:10 PM (2 months ago)
- Branches:
- main
- Children:
- 43273c9
- Parents:
- 7b07035
- File:
-
- 1 edited
-
src/routes/posts.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/routes/posts.js
r7b07035 rdc41bef 1122 1122 const _apBase = (process.env.PUBLIC_BASE_URL || `${req.protocol}://${req.get('host')}`).replace(/\/+$/, ''); 1123 1123 fediverse = ActivityPubService.getInteractions(post.id, _apBase, site); 1124 // Stale-while-revalidate: render from cache now; refresh the remote thread in the 1125 // background (TTL-gated, non-blocking) so undelivered replies-to-replies fill in next view. 1126 if (res.locals.apEnabled !== false) ActivityPubService.maybeCrawlThread(post.id); 1124 1127 } catch { /* non-fatal */ } 1125 1128 // Owner/admin of this site may reply back to a fediverse interaction.
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)