mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
5b59c7b542
no issue - Removed v0.1 controllers - Removed 0.1 API unit tests - Removed 0.1 API app and mount point - Removed leftover use of v0.1 in entry-lookup test suite - Removed frontend client API enpoints and related code (middleware) - Fixed prev/next test suites to use v2 API - Set default API version to explicit v2 in UrlUtils - Removed v0.1 API regex from public files middleware
85 lines
1.5 KiB
JavaScript
85 lines
1.5 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 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 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');
|
|
},
|
|
|
|
get updateUserLastSeen() {
|
|
return require('./update-user-last-seen');
|
|
},
|
|
|
|
get emitEvents() {
|
|
return require('./emit-events');
|
|
}
|
|
};
|