Skip to content
Browse files

Updated example in Readme to be more up-to-date.

  • Loading branch information...
1 parent d468d91 commit 18e0525f4a4a5e06a2199573d7fe255a79a04b9d @balor committed Sep 10, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Readme.md
View
4 Readme.md
@@ -20,7 +20,7 @@
// allowing it to inherit from express.session.Store
var MemcachedStore = require('connect-memcached')(express);
- var app = express.createServer();
+ var app = express();
app.use(express.favicon());
@@ -38,7 +38,7 @@
app.use(express.session({
secret: 'CatOnTheKeyboard',
store: new MemcachedStore({
- hosts: [ '127.0.0.1:11212' ] // Change this to your memcache server(s). See Options for additional info.
+ hosts: [ '127.0.0.1:11211' ] // Change this to your memcache server(s). See Options for additional info.
})
}));

0 comments on commit 18e0525

Please sign in to comment.
Something went wrong with that request. Please try again.