1. 报错内容:

    Access to script at 'http://localhost:18000/CLodopfuncs.js?priority=0' from 
    origin 'http://xxxxxx' has been blocked by CORS policy: The request client 
    is not a secure context and the resource is in more-private address space `local`.
  2. 解决方法

    • 旧版谷歌浏览器

      • 转到:chrome://flags
      • 搜索 block-insecure-private-network-requests,修改 DefaultDisabled
    • 新版谷歌浏览器

      • 转到:chrome://flags
      • 搜索 insecure,添加域名,多个域名用 , 隔开

标签: none

评论已关闭