mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
4700b14d93
refs https://github.com/TryGhost/Toolbox/issues/214 - The values configuration for the settings table need to become configurable to be able to run our test environment with a pre-defined set of configurations (e.g Stripe-related values). - This change makes it possible to define the default settings file location (currently a JSON) - A new key is now exposed through the "paths.defaultSettings" key in settings, which can be overloaded for the needs of the environment
6 lines
208 B
JavaScript
6 lines
208 B
JavaScript
const config = require('../../../../shared/config');
|
|
|
|
const defaultSettingsPath = config.get('paths').defaultSettings;
|
|
const defaultSettings = require(defaultSettingsPath);
|
|
|
|
module.exports = defaultSettings;
|