aboutsummaryrefslogtreecommitdiff
path: root/src/routes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes.ts')
-rw-r--r--src/routes.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/routes.ts b/src/routes.ts
index 7383c5d..7d2c2fb 100644
--- a/src/routes.ts
+++ b/src/routes.ts
@@ -58,6 +58,11 @@ export default (metadata: Metadata): Router => {
res.sendFile(path.join(metadata.getHostDir(), "index.html"));
});
+ // health check endpoint
+ router.get("/v1/health-check", (_, res) => {
+ res.sendStatus(200);
+ });
+
// serve script for posting coverage report
router.use(
"/:shell(bash|sh)",