Skip to content

Commit

Permalink
fix missing parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
mpabst-udg committed Feb 21, 2024
1 parent 9ccce3e commit f99384c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ app.get("/inc", (req, res, next) => {
res.cookie("inc", ++inc, { maxAge: 10800 }).send("cookie set to" + inc);
});

app.get("/cookie-echo", () => {
app.get("/cookie-echo", (req, res, next) => {
var value = req.cookies["cookie-in"];
res
.cookie("cookie-out", value, { maxAge: 10 })
Expand Down

0 comments on commit f99384c

Please sign in to comment.