Skip to content
Snippets Groups Projects

Login with session

Merged LeeYongJae requested to merge login_with_session into master
6 files
+ 109
128
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 3
2
@@ -43,11 +43,12 @@ router.get("/logout", function(req, res) {
if (err) {
console.log(err);
} else {
res.redirect("/"); // 수정해야 할 듯
console.log("Hello");
res.redirect("http://localhost:8081/"); // 수정해야 할 듯
}
});
} else {
res.redirect("/");
res.redirect("http://localhost:8081/");
}
});
Loading