From 5492e64988a9d5d20235c359ba963b0c6e26f4b5 Mon Sep 17 00:00:00 2001 From: Michael Barrett Date: Wed, 23 Oct 2024 11:36:16 +0100 Subject: [PATCH] Updated admin-x-activitypub URL to point at shorter cached version (#21378) no refs --- .github/workflows/ci.yml | 2 +- ghost/admin/lib/asset-delivery/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eec2c09aed..23af4a5edc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1068,4 +1068,4 @@ jobs: uses: gacts/purge-jsdelivr-cache@v1 with: url: | - https://cdn.jsdelivr.net/npm/@tryghost/admin-x-activitypub@0/dist/admin-x-activitypub.js + https://cdn.jsdelivr.net/ghost/admin-x-activitypub@0/dist/admin-x-activitypub.js diff --git a/ghost/admin/lib/asset-delivery/index.js b/ghost/admin/lib/asset-delivery/index.js index 17a291afa6..b353dc55b3 100644 --- a/ghost/admin/lib/asset-delivery/index.js +++ b/ghost/admin/lib/asset-delivery/index.js @@ -44,7 +44,7 @@ module.exports = { console.log(`Asset-Delivery: ${key} = ${value}`); } - this.packageConfig[`adminXActivitypubCustomUrl`] = 'https://cdn.jsdelivr.net/npm/@tryghost/admin-x-activitypub@0/dist/admin-x-activitypub.js' + this.packageConfig[`adminXActivitypubCustomUrl`] = 'https://cdn.jsdelivr.net/ghost/admin-x-activitypub@0/dist/admin-x-activitypub.js' } return this.packageConfig;