diff --git a/src/endpoints/health.ts b/src/endpoints/health.ts new file mode 100644 index 0000000..1ffcd5b --- /dev/null +++ b/src/endpoints/health.ts @@ -0,0 +1,9 @@ +import { ServerRoute } from "@hapi/hapi"; + +const route: ServerRoute = { + method: `GET`, path: `/health`, + async handler(_, h) { + return h.response().code(204); + }, +}; +export default route; \ No newline at end of file