leancloud / node-js-getting-started

LeanEngine Node.js getting started.
https://leancloud.cn/docs/leanengine_overview.html
133 stars 118 forks source link

bugfix: 如果当前环境已经有 domain 则未处理异常捕获中间件不会重复创建 domain #9

Closed sdjcw closed 8 years ago

sdjcw commented 8 years ago

主要是为了解决 AV.Cloud.CookieSession 写在未处理异常捕获中间件前面时,因为该中间件会重新创建 domain,会使 cookieSesion 无法找到正确的 domain 而导致状态不正确。