Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-CloudComputing
/
D_Team_Khuloud
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
toror33
2020-05-25 15:28:51 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
601da887f2ab07826aed5681b8b07132126bb5de
601da887
1 parent
0680ea14
logout 기능 구현
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
backend/routes/index.js
backend/routes/index.js
View file @
601da88
...
...
@@ -6,4 +6,8 @@ router.get('/', function(req, res, next) {
res
.
render
(
'index'
,
{
title
:
'Express'
});
});
router
.
get
(
'/logout'
,
function
(
req
,
res
)
{
req
.
logout
();
res
.
redirect
(
'/'
);
});
module
.
exports
=
router
;
...
...
Please
register
or
login
to post a comment