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

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

复制代码
Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '<URL>'. This content should also be served over HTTPS.
1、右键不安全 -> 点击网站设置
2、找到下面一项,改为允许后重新请求,但是线上必须要用https请求 http请求只在本地调试时使用
相关推荐
kyriewen1136 分钟前
你点的“刷新”是假刷新?前端路由的瞒天过海术
开发语言·前端·javascript·ecmascript·html5
skywalk81633 小时前
Kotti Next的tinyfrontend前端模仿Kotti 首页布局还是不太好看,感觉比Kotti差一点
前端
RopenYuan4 小时前
FastAPI -API Router的应用
前端·网络·python
秋夜无霜5 小时前
一场因chrome浏览器调试模式network中设置了offline模式导致的页面调试就会导致数据无法正常加载
chrome
走粥5 小时前
clsx和twMerge解决CSS类名冲突问题
前端·css
Purgatory0015 小时前
layui select重新渲染
前端·layui
weixin199701080166 小时前
《中国供应商商品详情页前端性能优化实战》
前端·性能优化
刘~浪地球6 小时前
Redis 从入门到精通(六):列表操作详解
数据库·chrome·redis