Added the 'get' response

This commit is contained in:
ION606
2022-07-29 07:10:18 +00:00
parent a2be897cb8
commit 343666796b
+4
View File
@@ -180,6 +180,10 @@ app.post('/reminders', async (req, res) => {
});
app.get('/', async (req, res) => {
res.sendStatus(200);
})
const listener = app.listen(process.env.PORT, () => {
console.log("Your app is listening on port " + listener.address().port);
});