null+****@clear*****
null+****@clear*****
2012年 6月 22日 (金) 14:33:05 JST
Yoji SHIDARA 2012-06-22 14:33:05 +0900 (Fri, 22 Jun 2012) New Revision: 8536dfe0c9d7d430b0d187b1721d777d6f21545a https://github.com/groonga/gcs/commit/8536dfe0c9d7d430b0d187b1721d777d6f21545a Log: Enable jsonp Modified files: lib/server.js Modified: lib/server.js (+3 -0) =================================================================== --- lib/server.js 2012-06-22 09:36:59 +0900 (bdc9d30) +++ lib/server.js 2012-06-22 14:33:05 +0900 (a99c096) @@ -9,6 +9,9 @@ exports.createServer = function (config) { application.use(express.bodyParser()); application.set('views', __dirname + '/../views'); application.use(express.static(__dirname + '/../public')); + application.configure(function() { + application.enable('jsonp callback'); + }); api.versions.forEach(function(version) { api[version].registerHandlers(application, database); -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B... Descargar