当我尝试重新加载我的 React 应用程序网页时,我遇到了这个问题。注意:在开发阶段,这种事情没有问题,但是当我将它部署到生产中时,我遇到了这个问题。谢谢你。
Refused to load the image 'http://104.248.153.121:8080/favicon.ico' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.
这是错误图像日志:错误日志拒绝加载图像