From 0cf3d4d3d5d9742e11b7bb0e2dc14e15976b8e2f Mon Sep 17 00:00:00 2001 From: Fabien 'egg' O'Carroll Date: Thu, 27 Jun 2024 11:27:25 +0700 Subject: [PATCH] Updated ActivityPub API root path (#20471) ref https://linear.app/tryghost/issue/MOM-201 We will be proxying to `/.ghost/activitypub` rather than just `/activitypub` --- apps/admin-x-framework/src/utils/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/admin-x-framework/src/utils/helpers.ts b/apps/admin-x-framework/src/utils/helpers.ts index f3aaf6c1e3..1207ff12c6 100644 --- a/apps/admin-x-framework/src/utils/helpers.ts +++ b/apps/admin-x-framework/src/utils/helpers.ts @@ -12,7 +12,7 @@ export function getGhostPaths(): IGhostPaths { const adminRoot = `${subdir}/ghost/`; const assetRoot = `${subdir}/ghost/assets/`; const apiRoot = `${subdir}/ghost/api/admin`; - const activityPubRoot = `${subdir}/activitypub`; + const activityPubRoot = `${subdir}/.ghost/activitypub`; return {subdir, adminRoot, assetRoot, apiRoot, activityPubRoot}; }