Skip to content

Commit 04f806e

Browse files
authored
Merge pull request #4 from craig-dsilva/healthcheck
Healthcheck
2 parents c009b9f + 19e8609 commit 04f806e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

chat-app/server/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ const io = new Server(server, {
1111
},
1212
});
1313

14+
app.get('/healthcheck', (req, res) => res.send('Server is running'));
15+
1416
io.on('connection', (socket) => {
1517
socket.emit('history', chat);
1618

0 commit comments

Comments
 (0)