diff --git a/core/server/storage/index.js b/core/server/storage/index.js index 49d868cd19..2fa85d9177 100644 --- a/core/server/storage/index.js +++ b/core/server/storage/index.js @@ -11,7 +11,15 @@ function getStorage(type) { type = type || 'images'; var storageChoice = config.get('storage').active[type], - storageConfig = config.get('storage')[storageChoice]; + storageConfig; + + // CASE: we only allow local-file-storage for themes + // @TODO: https://github.com/TryGhost/Ghost/issues/7246 + if (type === 'themes') { + storageChoice = 'local-file-store'; + } + + storageConfig = config.get('storage')[storageChoice]; // CASE: type does not exist if (!storageChoice) {