Skip to content

Commit

Permalink
use FileStore for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonBoy committed Dec 22, 2016
1 parent c44f74a commit b5ed0a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const wx = new Wechat({
"appId": "wxfc9c5237ebf480aa",
"appSecret": "2038576336804a90992b8dbe46cd5948",
"wechatRedirectUrl": "http://127.0.0.1/oauth",
store: new MongoStore({limit: 5}),
// store: new FileStore({interval: 1000 * 60 * 3}),
// store: new MongoStore({limit: 5}),
store: new FileStore({interval: 1000 * 60 * 3}),
});

const app = express();
Expand Down

0 comments on commit b5ed0a6

Please sign in to comment.