Authored by 姜枫

change session middleware

Showing 1 changed file with 1 additions and 1 deletions
@@ -17,7 +17,7 @@ const path = require('path'); @@ -17,7 +17,7 @@ const path = require('path');
17 const bodyParser = require('body-parser'); 17 const bodyParser = require('body-parser');
18 const cookieParser = require('cookie-parser'); 18 const cookieParser = require('cookie-parser');
19 const favicon = require('serve-favicon'); 19 const favicon = require('serve-favicon');
20 -const session = require('express-session'); 20 +const session = require('yoho-express-session');
21 const memcached = require('connect-memcached'); 21 const memcached = require('connect-memcached');
22 const hbs = require('express-handlebars'); 22 const hbs = require('express-handlebars');
23 const pkg = require('./package.json'); 23 const pkg = require('./package.json');