mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 18:01:36 +03:00
4ee2fcd869
- 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
5 lines
105 B
JavaScript
5 lines
105 B
JavaScript
module.exports = {
|
|
entryLookup: require('./entry-lookup'),
|
|
fetchData: require('./fetch-data')
|
|
};
|