Ghost/core/frontend/services/routing/index.js
Hannah Wolfe 8612f3aaeb
Moved route settings to new server service
- The main goal here is getting this settings related code out of the routing service as it really doesn't belong there
- This settings file is used purely by the API to get and set files - its not really anything to do with actual routing
- This file calls out to the bridge to do a reload, which helps decouple slightly
- More refactoring is needed to get rid of the urlService dependency
- Note this file is really similar to the redirects one, it would be good to merge them
2021-06-30 10:58:33 +01:00

22 lines
383 B
JavaScript

module.exports = {
get bootstrap() {
return require('./bootstrap');
},
get registry() {
return require('./registry');
},
get helpers() {
return require('./helpers');
},
get CollectionRouter() {
return require('./CollectionRouter');
},
get TaxonomyRouter() {
return require('./TaxonomyRouter');
}
};