mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +03:00
295eac6ea1
- Moved emit-events from shared to parent as it is not shared - This file is only used in one place, this updates the code structure to reflect this - This is one of many similar changes needed to make it easier to refactor to the existing setup
62 lines
1.1 KiB
JavaScript
62 lines
1.1 KiB
JavaScript
module.exports = {
|
|
get api() {
|
|
return require('./api');
|
|
},
|
|
|
|
get image() {
|
|
return require('./image');
|
|
},
|
|
|
|
get validation() {
|
|
return require('./validation');
|
|
},
|
|
|
|
get brute() {
|
|
return require('./brute');
|
|
},
|
|
|
|
get upload() {
|
|
return require('./upload');
|
|
},
|
|
|
|
get cacheControl() {
|
|
return require('./cache-control');
|
|
},
|
|
|
|
get customRedirects() {
|
|
return require('./custom-redirects');
|
|
},
|
|
|
|
get errorHandler() {
|
|
return require('./error-handler');
|
|
},
|
|
|
|
get ghostLocals() {
|
|
return require('./ghost-locals');
|
|
},
|
|
|
|
get labs() {
|
|
return require('./labs');
|
|
},
|
|
|
|
get maintenance() {
|
|
return require('./maintenance');
|
|
},
|
|
|
|
get prettyUrls() {
|
|
return require('./pretty-urls');
|
|
},
|
|
|
|
get uncapitalise() {
|
|
return require('./uncapitalise');
|
|
},
|
|
|
|
get urlRedirects() {
|
|
return require('./url-redirects');
|
|
},
|
|
|
|
get updateUserLastSeen() {
|
|
return require('./update-user-last-seen');
|
|
}
|
|
};
|