Changeset 3597763 in Klonkt for src/middleware
- Timestamp:
- 07/26/2026 09:37:48 AM (6 weeks ago)
- Branches:
- main
- Children:
- ef1853c
- Parents:
- b5c2538
- File:
-
- 1 edited
-
src/middleware/render.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/middleware/render.js
rb5c2538 r3597763 19 19 import { getSetting, apEnabled } from '../services/SettingsService.js'; 20 20 import { isPremium as isPremiumInstance, premiumEnabled, premiumUnlocked } from '../services/PatreonService.js'; 21 import { emojiHtml, emojiName, parseQuote } from '../services/NoteRender.js'; 21 22 import ActivityPubService from '../services/ActivityPubService.js'; 22 23 import { imgProxyUrl } from '../services/ThumbnailService.js'; … … 164 165 formatDate, 165 166 formatDateTime, 167 // Render the Shaer-native bits server-side so the web timeline matches the 168 // apps: FEP-9098 custom emojis in content/names, and the FEP-044f quote. 169 emojiHtml, // (html, emoji_json) → HTML with :shortcode: as <img> 170 emojiName, // (text, emoji_json) → escaped name with :shortcode: as <img> 171 noteQuote: parseQuote, // (quote_json) → the resolved quoted-post object or null 166 172 // Rewrite a local /media/<file> cover to its on-demand downscaled thumbnail 167 173 // (crisp grid/list images). External URLs + already-thumb URLs pass through.
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)