宇天 2020-10-06 10:53:00 +08:00
parent 7cd378b3ee
commit 3cb95bb255
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ export const sessionPackage = {
var session = this.get('session') var session = this.get('session')
// 这里只创建session的存储器, 而初始化操作在中间件中进行 // 这里只创建session的存储器, 而初始化操作在中间件中进行
return new RedisStore(session) return new RedisStore(session)
}, }
} }
// 会话中间件 // 会话中间件

View File

@ -1,6 +1,6 @@
{ {
"name": "@gm5/session", "name": "@gm5/session",
"version": "1.1.0", "version": "1.1.1",
"type": "module", "type": "module",
"description": "会话中间件。", "description": "会话中间件。",
"main": "index.js", "main": "index.js",