Node.js sample program: tiny blog application
修订版 | 4e3750609559dee30665eb7f6cd272d5b8430a27 (tree) |
---|---|
时间 | 2015-05-13 21:58:25 |
作者 | Hiromichi Matsushima <hylom@Hiro...> |
Commiter | Hiromichi Matsushima |
fix: change connect-memcaced require style
@@ -7,7 +7,7 @@ var express = require('express'); | ||
7 | 7 | var routes = require('./routes'); |
8 | 8 | var http = require('http'); |
9 | 9 | var path = require('path'); |
10 | -var MemcachedStore = require('connect-memcached')(express); | |
10 | +var MemcachedStore = require('connect-memcached')(express.session); | |
11 | 11 | var config = require('./config'); |
12 | 12 | |
13 | 13 | var app = express(); |