diff --git a/apps/wamuseum-server/package.json b/apps/wamuseum-server/package.json index 9baa61b7..ae384846 100644 --- a/apps/wamuseum-server/package.json +++ b/apps/wamuseum-server/package.json @@ -1,6 +1,6 @@ { "name": "@coldsurfers/wamuseum-server", - "version": "1.0.0", + "version": "1.0.1", "private": true, "license": "MIT", "main": "index.js", diff --git a/apps/wamuseum-server/src/server.ts b/apps/wamuseum-server/src/server.ts index ae815a6b..67f68b8f 100644 --- a/apps/wamuseum-server/src/server.ts +++ b/apps/wamuseum-server/src/server.ts @@ -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() }, {