Skip to content

Commit 9b8ec63

Browse files
committed
Add /health/check route
1 parent 31e71ec commit 9b8ec63

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ app.use(
3030
})
3131
);
3232

33+
app.get("/health/check", async (req, res) => {
34+
res.json('OK');
35+
});
36+
3337
app.get("/download/:docId", async (req, res) => {
3438
const { docId } = req.params;
3539
const filePath = join(__dirname, UPLOAD_DIR, `${docId}.bin`);

0 commit comments

Comments
 (0)