Skip to content

Commit

Permalink
feat: Live check heat map (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
a2937 authored Nov 19, 2023
1 parent 8e6458c commit 462f100
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/heat-map/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.status(200).send({ msg: 'pong' });
});

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

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

0 comments on commit 462f100

Please sign in to comment.