在自己的 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.
2025年7月5日大约 1 分钟
在自己的 https 的域名访问后端接口的时候,产线踩坑的比较。
因为是 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.