Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit c2bb432

Browse files
committed
Add alive endpoint to api
1 parent 5f7f816 commit c2bb432

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/alive.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export default function hello(req, res) {
2+
res.statusCode = 200;
3+
res.json({ status: 'alive' });
4+
}

0 commit comments

Comments
 (0)