Permalink
Browse files

Add Cors server to Tile server.

  • Loading branch information...
1 parent cc43538 commit 8d5a0bfb6f1cffdad10c40127db0d5e96052af08 @yhahn yhahn committed Jul 13, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 servers/Tile.bones
View
@@ -6,6 +6,7 @@ server = Bones.Server.extend({
if (app.config.tilePort !== app.config.uiPort) {
this.port = app.config.tilePort;
this.enable('jsonp callback');
+ this.use(new servers['Cors'](app));
this.use(new servers['Host'](app));
} else {
this.port = null;

0 comments on commit 8d5a0bf

Please sign in to comment.