[Groonga-commit] groonga/express-droonga [master] Activate JSONP

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Mar 25 14:28:42 JST 2013


YUKI Hiroshi	2013-03-25 14:28:42 +0900 (Mon, 25 Mar 2013)

  New Revision: 110f22ea070e033c8b9a6ea17b66633e73d2fb12
  https://github.com/groonga/express-droonga/commit/110f22ea070e033c8b9a6ea17b66633e73d2fb12

  Message:
    Activate JSONP

  Modified files:
    lib/frontend/rest-adaptor.js

  Modified: lib/frontend/rest-adaptor.js (+4 -0)
===================================================================
--- lib/frontend/rest-adaptor.js    2013-03-06 11:33:52 +0900 (2b54940)
+++ lib/frontend/rest-adaptor.js    2013-03-25 14:28:42 +0900 (e7604c7)
@@ -88,6 +88,10 @@ exports.register = function(application, params) {
                               handler:    handler });
   });
 
+  application.configure(function() {
+    application.enable('jsonp callback');
+  });
+
   application.configure('production', function() {
     application.set('json spaces', -1); // disable pretty print
   });
-------------- next part --------------
HTML����������������������������...
Download 



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