fix(compose): add diagnostic logging for syndication debugging

Log syndicateTo values, micropubBody, and micropubUrl before the
Micropub request to trace why compose replies aren't syndicating
to Mastodon/Bluesky.
This commit is contained in:
Ricardo
2026-02-22 19:18:11 +01:00
parent a6f3f8dd6c
commit b19a33df2f
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -301,6 +301,15 @@ export function submitComposeController(mountPath, plugin) {
} }
} }
console.info(
`[ActivityPub] Compose Micropub submission:`,
JSON.stringify({
syndicateTo: syndicateTo || "(none)",
micropubBody: micropubData.toString(),
micropubUrl,
}),
);
const micropubResponse = await fetch(micropubUrl, { const micropubResponse = await fetch(micropubUrl, {
method: "POST", method: "POST",
headers: { headers: {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@rmdes/indiekit-endpoint-activitypub", "name": "@rmdes/indiekit-endpoint-activitypub",
"version": "2.0.1", "version": "2.0.2",
"description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.", "description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.",
"keywords": [ "keywords": [
"indiekit", "indiekit",