From 9bb1696329ced8227cb3ecad73a43aa4ae0943e9 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Thu, 26 Sep 2024 13:52:48 +0700 Subject: [PATCH] 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. --- ghost/admin/lib/asset-delivery/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghost/admin/lib/asset-delivery/index.js b/ghost/admin/lib/asset-delivery/index.js index d48581a34f..17a291afa6 100644 --- a/ghost/admin/lib/asset-delivery/index.js +++ b/ghost/admin/lib/asset-delivery/index.js @@ -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;