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`
This commit is contained in:
Fabien 'egg' O'Carroll 2024-06-27 11:27:25 +07:00 committed by GitHub
parent 2e593ebcee
commit 0cf3d4d3d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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};
}