Skip to content

Commit

Permalink
Merge pull request #165 from coldsurfers/release/wamuseum-server-v1.0.1
Browse files Browse the repository at this point in the history
release(wamuseum-server): v1.0.1
  • Loading branch information
yungblud authored Dec 19, 2024
2 parents e1252d0 + 6ed4eee commit 603b5b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/wamuseum-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coldsurfers/wamuseum-server",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"license": "MIT",
"main": "index.js",
Expand Down
9 changes: 9 additions & 0 deletions apps/wamuseum-server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ fastify.register(
method: ['OPTIONS', 'GET'],
handler: FileUploadController.getPosterThumbnailsPresigned,
})
await instance.route({
url: '/health-check',
method: ['OPTIONS', 'GET'],
handler: (req, rep) => {
return rep.status(200).send({
status: 'ok',
})
},
})
done()
},
{
Expand Down

0 comments on commit 603b5b3

Please sign in to comment.