Skip to content

Commit

Permalink
feat: live check on roman numeral converter (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
a2937 committed Nov 30, 2023
1 parent 92ae9d4 commit b2c9c37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/roman-numeral-converter/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ app.get('', (req, res) => {
res.sendFile(`${process.cwd()}/index.html`);
});

app.get('/status/ping', (req, res) => {
res.send({ msg: 'pong' }).status(200);
});

const portNum = process.env.PORT || 3000;

app.listen(portNum, () => {
Expand Down

0 comments on commit b2c9c37

Please sign in to comment.