diff --git a/index.js b/index.js index af0aee9..739f600 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,7 @@ export const sessionPackage = { var session = this.get('session') // 这里只创建session的存储器, 而初始化操作在中间件中进行 return new RedisStore(session) - }, + } } // 会话中间件 diff --git a/package.json b/package.json index cba8bda..ed21612 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gm5/session", - "version": "1.1.0", + "version": "1.1.1", "type": "module", "description": "会话中间件。", "main": "index.js",