Javascript 如何允许访问控制允许meteor上的源

Javascript 如何允许访问控制允许meteor上的源,javascript,meteor,cors,Javascript,Meteor,Cors,我的问题如下: XMLHttpRequest cannot load http://www.easydelivery.net.br/pagseguroNotifications. The 'Access-Control-Allow-Origin' header has a value 'http://meteor.local' that is not equal to the supplied origin. Origin 'http://client.cors-api.appspot.com'

我的问题如下:

XMLHttpRequest cannot load http://www.easydelivery.net.br/pagseguroNotifications.
The 'Access-Control-Allow-Origin' header has a value 'http://meteor.local'
that is not equal to the supplied origin.
Origin 'http://client.cors-api.appspot.com' is therefore not allowed access.
我使用
cfs:HTTP方法创建了一个
HTTP.method
,问题是我无法从其他客户端接收帖子

我正在使用测试cors,错误如下:

XMLHttpRequest cannot load http://www.easydelivery.net.br/pagseguroNotifications.
The 'Access-Control-Allow-Origin' header has a value 'http://meteor.local'
that is not equal to the supplied origin.
Origin 'http://client.cors-api.appspot.com' is therefore not allowed access.
我的方法仍然很简单,我想先连接以完成它,所以它是:

HTTP.methods({
  '/pagseguroNotifications': function() {
    console.log(this.request);
  }
});

Meteor.startup(function() {
  // Listen to incoming HTTP requests, can only be used on the server
    console.log('chamou');
  WebApp.connectHandlers.use(function(req, res, next) {
    res.setHeader("Access-Control-Allow-Origin", "*");
    return next();
  });
});

刚刚选中,它正在发送
访问控制允许标题:内容类型
访问控制允许方法:PUT
访问控制允许来源:http://meteor.local
问题解决了吗?我不知道为什么,但它现在正在工作