Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7d08937

Browse files
committedOct 28, 2020
health check
1 parent 1a96fe5 commit 7d08937

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎server.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ app.use('/navbar',
1616
})
1717
);
1818

19+
app.get('/', function (req, res) {
20+
res.send('alive')
21+
})
22+
1923
const PORT = process.env.PORT || 8080;
2024
app.listen(PORT);
2125
console.log(`App is hosted on port ${PORT}.`); // eslint-disable-line no-console

0 commit comments

Comments
 (0)
This repository has been archived.