2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core/server/errors
Harry Wolff be37070fb6 This aims to speed up both the ghost application and tests by
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
2014-07-22 22:37:44 -04:00
..
badrequesterror.js Invite user API 2014-07-02 16:22:18 +02:00
emailerror.js Invite user API 2014-07-02 16:22:18 +02:00
index.js This aims to speed up both the ghost application and tests by 2014-07-22 22:37:44 -04:00
internalservererror.js Invite user API 2014-07-02 16:22:18 +02:00
nopermissionerror.js Invite user API 2014-07-02 16:22:18 +02:00
notfounderror.js Invite user API 2014-07-02 16:22:18 +02:00
requesttoolargeerror.js Invite user API 2014-07-02 16:22:18 +02:00
unauthorizederror.js Invite user API 2014-07-02 16:22:18 +02:00
unsupportedmediaerror.js Invite user API 2014-07-02 16:22:18 +02:00
validationerror.js Invite user API 2014-07-02 16:22:18 +02:00