Loaded AdminX activitypub app from jsdelivr in production

ref https://linear.app/tryghost/issue/AP-438

We want to keep development and test mode using the local build so we can have
feedback on our local changes.
This commit is contained in:
Fabien O'Carroll 2024-09-26 13:52:48 +07:00 committed by Fabien 'egg' O'Carroll
parent 9884e2bb2c
commit 9bb1696329

View File

@ -43,6 +43,8 @@ module.exports = {
for (const [key, value] of Object.entries(this.packageConfig)) {
console.log(`Asset-Delivery: ${key} = ${value}`);
}
this.packageConfig[`adminXActivitypubCustomUrl`] = 'https://cdn.jsdelivr.net/npm/@tryghost/admin-x-activitypub@0/dist/admin-x-activitypub.js'
}
return this.packageConfig;