iframe 报错Mixed Content: The page at ‘xxx‘. This request has been blocked; the content must be served
iframe 报错Mixed Content: The page at ‘xxx’. This request has been blocked; the content must be served over HTTPS.问题原因当前页面通过iframe嵌套其他页面时,因为主页面为https协议,加载页面协议也是https,但是iframe嵌套的页面内部的资源请求使用了http导致资源无法正常加载;解决办法在主页面的html模板中加入 自动将http请求升级https请求后可结局该问题;
原创
2021-07-02 19:37:08 ·
1194 阅读 ·
0 评论