nhsuk / betahealth

Rendering application for beta symptom and condition pages
https://beta.nhs.uk
MIT License
2 stars 8 forks source link

Add fallback handler for both REST and File System #245

Closed teneightfive closed 7 years ago

teneightfive commented 7 years ago

This handler will use the REST handler first to find a record but then fallback to the File System if it cannot get a record.

If neither returns a record it rejects the promise.