From 0616222d2e6bedf1ac00608a8e26a4c0d382cfd0 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Fri, 14 Jul 2023 12:16:02 +0200 Subject: [PATCH] Added support for prepending CDN URLs to Admin assets refs https://github.com/TryGhost/DevOps/issues/47 - this allows us to produce builds that use URLs from a CDN if the env var is provided --- ghost/admin/ember-cli-build.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ghost/admin/ember-cli-build.js b/ghost/admin/ember-cli-build.js index 31168b974e..100bcd98e2 100644 --- a/ghost/admin/ember-cli-build.js +++ b/ghost/admin/ember-cli-build.js @@ -135,6 +135,7 @@ module.exports = function (defaults) { }, fingerprint: { enabled: isProduction, + prepend: process.env.GHOST_CDN_URL || '', extensions: [ 'js', 'css',