Skip to content

Commit 07893ff

Browse files
authored
feat: Live check on telephone number validator (#547)
1 parent ddfe677 commit 07893ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/telephone-number-validator/server.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ app.get('', (req, res) => {
88
res.sendFile(`${process.cwd()}/index.html`);
99
});
1010

11+
app.get('/status/ping', (req, res) => {
12+
res.send({ msg: 'pong' }).status(200);
13+
});
14+
1115
const portNum = process.env.PORT || 3000;
1216

1317
app.listen(portNum, () => {

0 commit comments

Comments
 (0)