在自己的 https 的域名访问后端接口的时候,产线踩坑的比较。
v1-访问对方的 http 域名
因为是 https 页面访问 http 会遇到一个类似如下的异常:
Mixed Content: The page at 'https://xxx' was loaded over HTTPS, but requested an insecure resource 'http://xxx'. This request has been blocked.

