Browse files

fix to work with new connect-mongo api

  • Loading branch information...
1 parent e7c2168 commit 10fcc298f29ab381ba2131a26707cb733a1b0481 @nateps nateps committed Apr 15, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 examples/chat/package.json
  2. +1 −1 examples/chat/src/server/index.coffee
View
2 examples/chat/package.json
@@ -8,7 +8,7 @@
"racer-db-mongo": "*",
"express": ">=2 <3",
"connect-gzip": ">=0.1.5",
- "connect-session-mongo": "git://github.com/bnoguchi/connect-session-mongo.git"
+ "connect-mongo": ">=0.1.9"
},
"private": true,
"devDependencies": {
View
2 examples/chat/src/server/index.coffee
@@ -3,7 +3,7 @@ express = require 'express'
derby = require 'derby'
gzip = require 'connect-gzip'
chat = require '../chat'
-MongoStore = require 'connect-session-mongo'
+MongoStore = require('connect-mongo')(express)
## SERVER CONFIGURATION ##

0 comments on commit 10fcc29

Please sign in to comment.