[Groonga-commit] droonga/express-droonga at cf5ce50 [master] Don't control pretty print of results

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Apr 28 14:42:15 JST 2014


YUKI Hiroshi	2014-04-28 14:42:15 +0900 (Mon, 28 Apr 2014)

  New Revision: cf5ce50bb02b179f6b884afb0c9fd2d71358bc0f
  https://github.com/droonga/express-droonga/commit/cf5ce50bb02b179f6b884afb0c9fd2d71358bc0f

  Message:
    Don't control pretty print of results

  Modified files:
    lib/adapter/http.js

  Modified: lib/adapter/http.js (+0 -5)
===================================================================
--- lib/adapter/http.js    2014-04-28 12:54:15 +0900 (bf3c1b4)
+++ lib/adapter/http.js    2014-04-28 14:42:15 +0900 (7819497)
@@ -168,10 +168,5 @@ exports.register = function(application, params) {
                               handler:    handler });
   });
 
-  var env = process.env.NODE_ENV || 'development';
-  if (env == 'production') {
-    application.set('json spaces', -1); // disable pretty print
-  }
-
   return registeredCommands;
 }
-------------- next part --------------
HTML����������������������������...
Download 



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