chrome扩展程序开发请求接口报错

解决HTTPS站点请求HTTP接口服务后报错:the content must be served over HTTPS

Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ''. This content should also be served over HTTPS.
1、右键不安全 -> 点击网站设置

chrome扩展程序开发请求接口报错_第1张图片

2、找到下面一项,改为允许后重新请求,但是线上必须要用https请求 http请求只在本地调试时使用

你可能感兴趣的:(前端,chrome,前端,扩展屏应用开发)