diff --git a/lib/controllers/compose.js b/lib/controllers/compose.js index 6d187a4..c7ef9d6 100644 --- a/lib/controllers/compose.js +++ b/lib/controllers/compose.js @@ -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, { method: "POST", headers: { diff --git a/package.json b/package.json index 137e401..af763f1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "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.", "keywords": [ "indiekit",