Skip to content

Commit

Permalink
Updated example in Readme to be more up-to-date.
Browse files Browse the repository at this point in the history
  • Loading branch information
balor committed Sep 10, 2013
1 parent d468d91 commit 18e0525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Expand Up @@ -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());

Expand All @@ -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.
})
}));

Expand Down

0 comments on commit 18e0525

Please sign in to comment.