mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-03 10:40:57 +01:00
New enhancements to the Express session, added "sessionId" as the new default session key. Previously, the express session was using the default "connect.sid" key. This caused the Socket configuration to be unable to find the session id, thus causing issues with the Socket. One suck issue, was that the same Socket would be used for all users connected to the server. This also adds a bit more error handling of the Socket server configuration. Using the `return next()` pattern.