IPC removed, replaced by WS
This commit is contained in:
1 parent
ba4217fb24
commit
656c193511
503 files changed
+28128
-34498
No files matched your search
+1
-1
@@ -13,7 +13,7 @@ module.exports = function (opts) {
|
||||
if (!key) {
|
||||
return next(ctx)
|
||||
}
|
||||
const now = new Date().getTime()
|
||||
const now = Date.now()
|
||||
return Promise.resolve(options.store.get(key))
|
||||
.then((state) => state || { session: {} })
|
||||
.then(({ session, expires }) => {
|
||||
|
||||
Reference in new issue
Block a user