Skip to content

Commit

Permalink
refactor: remove unused logout endpoint in express example
Browse files Browse the repository at this point in the history
  • Loading branch information
lfleischmann authored May 30, 2023
1 parent 404c736 commit 59ace2e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions frontend/examples/express/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,4 @@ app.delete("/todo/:id", (req, res) => {
res.status(204).end();
});

app.get("/logout", (req, res) => {
res.clearCookie("hanko");
res.status(204).end();
});

app.listen(8002);

0 comments on commit 59ace2e

Please sign in to comment.