Skip to content

Commit

Permalink
Add a basic healthcheck endpoint (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
oo-bldrs committed Aug 27, 2023
1 parent 9691ba7 commit 7a2b5ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ const port = 8001

app.use(express.json())

app.get('/healthcheck', (req, res) => {
res.status(200).send()
})

app.post('/render', async (req, res) => {
console.log(req.body)

Expand Down

0 comments on commit 7a2b5ae

Please sign in to comment.