来自亚马逊 s3 的图像在流星模板中不可见

Images from amazon s3 are not visible in meteor template

有人告诉我为什么我的流星模板中看不到来自 s3 的图像吗? 如果我在浏览器中键入图像 url,它会显示该图像,但不会显示在我的模板中。 所以这是我的模板代码:

<template name="test">
  <div>
    <img src="http://mybucket.s3.amazonaws.com/images/1_p.jpg " />
  </div>        
  ...  
</template>

错误来了:

拒绝加载图像“http://mybucket.s3.amazonaws.com/images/1_p.jpg”,因为它违反了以下内容安全策略指令:"img-src data: 'self' http://.googleapis.com https://.googleapis.com http://.gstatic.com https://.gstatic.com http://.bootstrapcdn.com https://.bootstrapcdn.com"。

测试:1 未捕获的语法错误:意外的标记 Y

谢谢大家。我解决了这个问题。实际上我正在使用浏览器策略包,为了访问 s3 上的数据,我需要在白名单中添加 s3 url..