问题:

Mixed Content: The page at 'https://api.xxxx.com/test' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://api.xxxx.com/test'. This request has been blocked; the content must be served over HTTPS.

添加这个:

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">

参考:

http://thehackernews.com/2015/04/disable-mixed-content-warning.html

最新文章

  1. JavaScript中fn()和return fn()
  2. JavaEE 概念
  3. 关于最近的CSRF攻击
  4. 疯狂位图之——位图实现12GB无重复大整数集排序
  5. FooTable高级的响应式表格jQuery插件
  6. C#如何读写和创建INI文件
  7. HTML5读取本地文件 FileReader API接口
  8. FPGA静态时序分析——IO口时序(Input Delay /output Delay)
  9. php 7 正式发版
  10. mysql_windows_安装版添加到服务开机自启动
  11. 30个HTML初学者建议
  12. &lt;poj - 3268&gt; Silver Cow Party 牛のpart 最短路径问题
  13. Windows Server 2016-WinSer2016 Active Directory新增功能
  14. Java四大名著下载大全(中文+英文)
  15. C#:匿名类型
  16. MIT-6.828-JOS-lab5:File system, Spawn and Shell
  17. 【中文分词】DAG、DP、HMM、Viterbi
  18. 前端通信:ajax设计方案(二)---集成轮询技术
  19. Gunner II--hdu5233(map&amp;vector/二分)
  20. session 与 cookie 区别

热门文章

  1. L2TP连接尝试失败,因为安全层在初始化与远程计算机的协商时遇到了一个处理错误(转)
  2. ASP.NET Core 2.1与2.2 SignalR CORS 跨域问题
  3. Winform开发中对界面的组织布局
  4. Photoshop给人像加上个性裂纹肌肤
  5. ORM简介
  6. 证明与计算(2): 离散对数问题(Discrete logarithm Problem, DLP)
  7. NodeJs之服务搭建与数据库连接
  8. B树和B+树详解
  9. ABP中的Filter(下)
  10. Q_UNUSED 的使用