mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
- This is a minor bugbare, but it will affect some configuration I'm about to do for c8 - I've been wanting to do it for ages, middleware is plural all on it's own so it's an odd affectation in our codebase - This also only exists in 2 places, everywhere else we use "middleware" - Sadly it did result in a lot of churn as I did a full find and replace, but consistency is king!
29 lines
511 B
JavaScript
29 lines
511 B
JavaScript
module.exports = {
|
|
get api() {
|
|
return require('./api');
|
|
},
|
|
|
|
get brute() {
|
|
return require('./brute');
|
|
},
|
|
|
|
get cacheControl() {
|
|
return require('./cache-control');
|
|
},
|
|
|
|
get errorHandler() {
|
|
return require('./error-handler');
|
|
},
|
|
|
|
get maintenance() {
|
|
return require('./maintenance');
|
|
},
|
|
|
|
get prettyUrls() {
|
|
return require('./pretty-urls');
|
|
},
|
|
|
|
get urlRedirects() {
|
|
return require('./url-redirects');
|
|
}
|
|
};
|