mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-28 21:05:36 -04:00
added dockerfile
This commit is contained in:
parent
15a77883f4
commit
eb3068af96
4 changed files with 23 additions and 1 deletions
|
@ -34,7 +34,11 @@ indexRouter.get("/new", (req, res) => {
|
|||
});
|
||||
|
||||
indexRouter.post("/new", (req, res) => {
|
||||
console.log(req);
|
||||
messages.unshift({
|
||||
text: req.body.message,
|
||||
user: req.body.username,
|
||||
added: new Date(),
|
||||
});
|
||||
res.redirect("/");
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue