mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
213474835b
refs #9866 - use package notation - get rid of x requires for middlewares - improved readability - do not refactor web/api/v0.1
78 lines
1.4 KiB
JavaScript
78 lines
1.4 KiB
JavaScript
module.exports = {
|
|
get api() {
|
|
return require('./api');
|
|
},
|
|
|
|
get image() {
|
|
return require('./image');
|
|
},
|
|
|
|
get validation() {
|
|
return require('./validation');
|
|
},
|
|
|
|
get adminRedirects() {
|
|
return require('./admin-redirects');
|
|
},
|
|
|
|
get brute() {
|
|
return require('./brute');
|
|
},
|
|
|
|
get cacheControl() {
|
|
return require('./cache-control');
|
|
},
|
|
|
|
get customRedirects() {
|
|
return require('./custom-redirects');
|
|
},
|
|
|
|
get errorHandler() {
|
|
return require('./error-handler');
|
|
},
|
|
|
|
get frontendClient() {
|
|
return require('./frontend-client');
|
|
},
|
|
|
|
get ghostLocals() {
|
|
return require('./ghost-locals');
|
|
},
|
|
|
|
get labs() {
|
|
return require('./labs');
|
|
},
|
|
|
|
get logRequest() {
|
|
return require('./log-request');
|
|
},
|
|
|
|
get maintenance() {
|
|
return require('./maintenance');
|
|
},
|
|
|
|
get prettyUrls() {
|
|
return require('./pretty-urls');
|
|
},
|
|
|
|
get serveFavicon() {
|
|
return require('./serve-favicon');
|
|
},
|
|
|
|
get servePublicFile() {
|
|
return require('./serve-public-file');
|
|
},
|
|
|
|
get staticTheme() {
|
|
return require('./static-theme');
|
|
},
|
|
|
|
get uncapitalise() {
|
|
return require('./uncapitalise');
|
|
},
|
|
|
|
get urlRedirects() {
|
|
return require('./url-redirects');
|
|
}
|
|
};
|