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
This commit is contained in:
Daniel Lockyer 2023-07-14 12:16:02 +02:00 committed by Daniel Lockyer
parent a463db4845
commit 0616222d2e

View File

@ -135,6 +135,7 @@ module.exports = function (defaults) {
},
fingerprint: {
enabled: isProduction,
prepend: process.env.GHOST_CDN_URL || '',
extensions: [
'js',
'css',