Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vinval authored Jan 23, 2021
1 parent 028954b commit 3a3ec71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const checkUser = (username, password) => {
return users[username] || false;
}

app.get("/verify", (req,res,next)=>{
app.get("/", (req,res,next)=>{
const cookies = cookier.parse(req.headers.cookie);
const user = tokenizr.verify(cookies.token);
if (user) {
Expand Down

0 comments on commit 3a3ec71

Please sign in to comment.