Skip to content

Commit

Permalink
feat: Live check on image-search abstraction layer (#526)
Browse files Browse the repository at this point in the history
  • Loading branch information
a2937 authored Nov 19, 2023
1 parent 8e5d889 commit 8e6458c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/image-search-abstraction-layer/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ module.exports = function (app, db) {
return res.sendFile('public/index.html', { root: __dirname });
});

app.get('/status/ping', (req, res) => {
res.status(200).send({ msg: 'pong' });
});

app.route('/recent').get(getRecent);
app.get('/query/:searchQuery', getImages);

Expand Down

0 comments on commit 8e6458c

Please sign in to comment.