Skip to content

Commit

Permalink
Update server/node/server.js
Browse files Browse the repository at this point in the history
Co-authored-by: Kai Welke <[email protected]>
  • Loading branch information
clemfromspace and kai687 authored Jul 21, 2021
1 parent c67cf3b commit 4fbdcdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/node/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ app.get("/render/:emailIndex", async (req, res) => {
});
});

// Send a given email, identified by his index
// Send a given email, identified by its index
app.post("/send/:emailIndex", async (req, res) => {
const { emailIndex } = req.params;
const emails = await loadEmails();
Expand All @@ -113,4 +113,4 @@ app.post("/send/:emailIndex", async (req, res) => {
res.status(200);
});

app.listen(4242, () => console.log(`Node server listening on port ${4242}!`));
app.listen(4242, () => console.log(`Node server listening on port ${4242}!`));

0 comments on commit 4fbdcdf

Please sign in to comment.