这是使用mavon-editor这个富文本编辑器上传图片报的错,在本地运行的时候插图片,显示都没问题,但是部署到线上后再上传图片就成这样了这是个啥呀??
小白在这谢谢大佬了
html的meta中Content-Security-Policy的问题,有些资料可以看下https://developers.google.com/web/fundamentals/security/csp?hl=zh-cnhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src
1.4m articles
1.4m replys
5 comments
56.7k users