Permalink
Browse files

turn on jsonp support

  • Loading branch information...
1 parent 8355f1d commit 6e8d3c23710f093846c496cd9c69aacbe713f962 @maxogden maxogden committed May 7, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 hosting-app/app.js
  2. +1 −0 instance-app/app.js
View
@@ -26,6 +26,7 @@ app.configure(function(){
app.set('view engine', 'jade');
app.set('views', __dirname + '/views');
app.set('view options', { layout: false, pretty: true, });
+ app.set("jsonp callback", true);
app.register('.txt', expressHogan);
app.use(express.bodyParser());
app.use(express.methodOverride());
View
@@ -93,6 +93,7 @@ app.configure(function(){
pretty: true,
// debug: true,
});
+ app.set("jsonp callback", true);
app.use(express.bodyParser());
app.use(express.methodOverride());

0 comments on commit 6e8d3c2

Please sign in to comment.