Skip to content

Commit 6d783d1

Browse files
author
Paul Flynn
committed
adding mock endpoints to app
1 parent 7723434 commit 6d783d1

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

sandbox/app.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,22 @@ app.all('/symptoms/', handlers.symptomsRoot)
225225
// ******************************************************************
226226
app.all('/tests-and-treatments/', handlers.testsAndTreatmentsRoot)
227227

228+
// ******************************************************************
229+
// ** Health A to Z
230+
// ******************************************************************
231+
app.all('/health-a-to-z/', handlers.healthAToZRoot)
232+
app.all('/health-a-to-z/common-topics/', handlers.healthAToZCommonTopics)
233+
234+
// ******************************************************************
235+
// ** Baby
236+
// ******************************************************************
237+
app.all('/baby/', handlers.babyRoot)
238+
239+
// ******************************************************************
240+
// ** Social care and support
241+
// ******************************************************************
242+
app.all('/social-care-and-support/', handlers.socialCareAndSupportRoot)
243+
228244
app.use((req, res, next) => {
229245
res.status(404).json(errorResourceNotFoundResponse)
230246
})

0 commit comments

Comments
 (0)