mirror of
https://github.com/svemagie/indiekit-endpoint-activitypub.git
synced 2026-04-02 15:44:58 +02:00
- views/layouts/ap-reader.njk: Replace incorrect comment "Alpine.js loaded by default.njk" with an actual Alpine.js CDN script tag. Without this, all Alpine directives on the remote-profile page (x-data, @click, x-text, :class) were dead — Follow/Mute/Block buttons showed no label and clicks did nothing. - lib/resolve-author.js: Add createPublicationAwareDocumentLoader() which wraps the authenticated Fedify document loader to opt in to allowPrivateAddress for requests to the publication's own hostname. Fedify blocks private IP ranges by default; self-hosted instances (localhost / private IPs) were failing author resolution for their own posts with a private-address error. All three lookupObject calls in resolveAuthor() now use the wrapped loader. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>