Improve the setup script and clean up config

This commit is contained in:
Alex Gleason
2024-06-15 23:41:19 -05:00
parent 287c89b9fd
commit c39fd2daa2
3 changed files with 83 additions and 62 deletions

View File

@@ -121,8 +121,8 @@ async function renderStatus(event: DittoEvent, opts: RenderStatusOpts): Promise<
poll: null,
quote: !event.quote ? null : await renderStatus(event.quote, { depth: depth + 1 }),
quote_id: event.quote?.id ?? null,
uri: Conf.external(note),
url: Conf.external(note),
uri: Conf.local(`/${note}`),
url: Conf.local(`/${note}`),
zapped: Boolean(zapEvent),
pleroma: {
emoji_reactions: reactions,