0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Added forceUpgrade config settings

no issue

- Added the `forceUpgrade` config setting to be able to use it together with BMA.
- The flag is a property of `host_settings` and is passed to the Admin client
This commit is contained in:
Aileen Nowak 2021-10-25 09:43:59 +02:00
parent 51c62371af
commit 989ab0edb5
2 changed files with 4 additions and 2 deletions

View file

@ -23,7 +23,8 @@ module.exports = {
enableDeveloperExperiments: config.get('enableDeveloperExperiments') || false,
stripeDirect: config.get('stripeDirect'),
mailgunIsConfigured: config.get('bulkEmail') && config.get('bulkEmail').mailgun,
emailAnalytics: config.get('emailAnalytics')
emailAnalytics: config.get('emailAnalytics'),
forceUpgrade: config.get('host_settings:forceUpgrade') || false
};
if (billingUrl) {
response.billingUrl = billingUrl;

View file

@ -23,7 +23,8 @@ module.exports = {
enableDeveloperExperiments: config.get('enableDeveloperExperiments') || false,
stripeDirect: config.get('stripeDirect'),
mailgunIsConfigured: config.get('bulkEmail') && config.get('bulkEmail').mailgun,
emailAnalytics: config.get('emailAnalytics')
emailAnalytics: config.get('emailAnalytics'),
forceUpgrade: config.get('host_settings:forceUpgrade') || false
};
if (billingUrl) {
response.billingUrl = billingUrl;