问题描述
我使用gatsby编码了静态页面并进行了部署。 :80没问题,当我将其托管在github静态页面上时,控制台也不会发送垃圾邮件。
对于我在项目中使用的每个<GatsbyImage/>
,我都会在我的静态页面上看到这个chrome-console错误。
[Report Only] Refused to connect to '<URL>' because it violates the following Content Security Policy directive:
"connect-src bitbucket.org *.bitbucket.org bb-inf.net *.bb-inf.net analytics.atlassian.com as.atlassian.com
api-private.stg.atlassian.com api-private.atlassian.com cofs.staging.public.atl-paas.net cofs.prod.public.atl-paas.net intake.opbeat.com api.media.atlassian.com api.segment.io
xid.statuspage.io xid.atlassian.com xid.sourcetreeapp.com bam.nr-data.net sentry.io bqlf8qjztdtr.statuspage.io <URL>".
有人可以指出我1.了解问题2.正确处理以避免所有控制台错误。我讨厌现场项目中的错误;-)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)