mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 11:30:13 +08:00
fix: enhance error handling for frontend session
This commit is contained in:
1 parent
d0e2a4125d
commit
1af85651b8
3 files changed
+29
-27
No files matched your search
@@ -28,7 +28,6 @@ export function pushToSession(sessionId, event, ...args) {
|
||||
}
|
||||
|
||||
async function connectContainer(socket, next) {
|
||||
console.log(next)
|
||||
const user = socket.request.session?.passport?.user
|
||||
// console.log(user)
|
||||
if (!user) {
|
||||
|
||||
Reference in new issue
Block a user