mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
- Some of the helpers inside the routing service would be better suited to their own service - These two helpers fetchData and entryLookup talk to the API to get data & so make a decent start for a data service - The data service would be the single point of contact with the API for the frontend - Doing this now cos I'm moving some files around ahead of deleting things for 5.0
4 lines
105 B
JavaScript
4 lines
105 B
JavaScript
module.exports = {
|
|
entryLookup: require('./entry-lookup'),
|
|
fetchData: require('./fetch-data')
|
|
};
|