Skip to content

Commit

Permalink
Feature: Live service check on stock price checker proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
a2937 committed Nov 9, 2023
1 parent e143945 commit ac4b3a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/stock-price-checker-proxy/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ app.get("/", (req, res) => {
res.sendFile(__dirname + "/views/index.html");
});

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

// eslint-disable-next-line no-unused-vars
app.use((err, req, res, next) => {
if (err) {
Expand Down

0 comments on commit ac4b3a6

Please sign in to comment.