侧边栏壁纸
博主头像
daixinmini的小屋博主等级

阿巴阿巴阿巴

  • 累计撰写 11 篇文章
  • 累计创建 4 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

The request client is not a secure context and the resource is in more-private address space local

380025303@qq.com
2024-04-19 / 0 评论 / 0 点赞 / 100 阅读 / 345 字

问题如题,原因是修改了跨域的安全策略

解决方案

  1. chrome浏览器输入 chrome://flags ,搜索 Block insecure private network requests ,设置为 Disable

  2. 添加Access-Control-Allow-Private-Network 的Header

方案一直接成功了,方案二没有尝试

0
  • ${post.likes!0}

评论区