mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
be37070fb6
migration from usage of config() to just an object of config. no relevant issue - Change 'loadConfig' task to 'ensureConfig' to more accurately reflect what it is actually doing. Its sole purpose is to make sure a `config.js` file exists, and as such the name now reflects that purpose. - Update config/index.js to export the ghostConfig object directly so that it can be accessed from other modules - Update all references of config(). to config. This was a blind global find all and replace, treat it as such. - Fixes to tests to support new config access method - Allow each test to still work when invoked invidually |
||
---|---|---|
.. | ||
badrequesterror.js | ||
emailerror.js | ||
index.js | ||
internalservererror.js | ||
nopermissionerror.js | ||
notfounderror.js | ||
requesttoolargeerror.js | ||
unauthorizederror.js | ||
unsupportedmediaerror.js | ||
validationerror.js |