mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
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:
parent
a463db4845
commit
0616222d2e
@ -135,6 +135,7 @@ module.exports = function (defaults) {
|
|||||||
},
|
},
|
||||||
fingerprint: {
|
fingerprint: {
|
||||||
enabled: isProduction,
|
enabled: isProduction,
|
||||||
|
prepend: process.env.GHOST_CDN_URL || '',
|
||||||
extensions: [
|
extensions: [
|
||||||
'js',
|
'js',
|
||||||
'css',
|
'css',
|
||||||
|
Loading…
Reference in New Issue
Block a user