[Groonga-commit] droonga/droonga-http-server at 29680b1 [master] Suppress warnings from express-session

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Oct 15 11:24:08 JST 2014


Kouhei Sutou	2014-10-15 11:24:08 +0900 (Wed, 15 Oct 2014)

  New Revision: 29680b10ccadac9daaa93b2edf40730106f91ed8
  https://github.com/droonga/droonga-http-server/commit/29680b10ccadac9daaa93b2edf40730106f91ed8

  Message:
    Suppress warnings from express-session
    
        express-session deprecated undefined resave option; provide resave option bin/droonga-http-server:90:17
        express-session deprecated undefined saveUninitialized option; provide saveUninitialized option bin/droonga-http-server:90:17

  Modified files:
    bin/droonga-http-server

  Modified: bin/droonga-http-server (+2 -0)
===================================================================
--- bin/droonga-http-server    2014-10-15 11:20:08 +0900 (b188260)
+++ bin/droonga-http-server    2014-10-15 11:24:08 +0900 (1d549b6)
@@ -89,6 +89,8 @@ if (options.accessLogFile) {
 application.use(cookieParser('secret key'));
 application.use(session({
   secret: 'secret key',
+  resave: true,
+  saveUninitialized: true,
   store:  sessionStore
 }));
 application.use(responseTime());
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index