mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: update swagger, secure cookie
This commit is contained in:
1 parent
d939b7eb4d
commit
d745531a14
5 files changed
+26
-4
No files matched your search
@@ -118,7 +118,9 @@ export function logout(req, res) {
|
||||
})
|
||||
return
|
||||
}
|
||||
res.redirect('/login')
|
||||
res.status(200).json({
|
||||
message: 'logged out',
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user