Skip to content

Commit

Permalink
Remove temporary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jannostern committed Jun 3, 2024
1 parent 14291ae commit 783189f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,6 @@ app.post(
.replace(/^(\.\.(\/|\\|$))+/, "");
const templatePath =
__dirname + "/views/" + normalizedParams + ".handlebars";
console.log(`url: ${req.originalUrl}`)
console.log(`loading: ${templatePath}`)
handleRender(req, res, templatePath);
})
);
Expand All @@ -145,8 +143,6 @@ app.post(
.replace(/^(\.\.(\/|\\|$))+/, "");
const templatePath =
__dirname + "/module/" + project + "/hbs/" + normalizedParams + EXTENSION;
console.log(`url: ${req.originalUrl}`)
console.log(`loading: ${templatePath}`)
handleRender(req, res, templatePath);
})
);
Expand Down Expand Up @@ -215,7 +211,6 @@ app.post("/js/email/*", (req, res) => {
});

app.post("/example/post", (req, res) => {
console.log(`POST endpoint received ${JSON.stringify(req.body)}`);
res.status(200).json({ message: `received value ${req.body.name}` });
});

Expand Down

0 comments on commit 783189f

Please sign in to comment.