From a91278665f2cf48f661c17616fd1c2b9e90ea228 Mon Sep 17 00:00:00 2001 From: Ryan Seys Date: Wed, 14 May 2014 10:43:34 -0700 Subject: [PATCH] Remove connect from cookieParser and session Changed connect.cookieParser to cookieParser Changed connect.session to session --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cd543157..e79f7e87 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,8 @@ Please note that `secure: true` is a **recommended** option. However, it require If for development or other reasons security is not a concern, just use: ```js -app.use(connect.cookieParser()) -app.use(connect.session({ +app.use(cookieParser()) +app.use(session({ secret: 'keyboard cat' , key: 'sid' , proxy: true // if you do SSL outside of node.