外网访问内网资源时,按已有的方式无论如何设置跨域,都无济于事了。
会提示 The request client is not a secure context and the resource is in more-private adress space 。
现在的解决方案就是 都升级为 https ,或者为内网资源加代理。
在代码层面已经无法解决这个跨域问题了。
https://wicg.github.io/private-network-access/
会提示 The request client is not a secure context and the resource is in more-private adress space 。
现在的解决方案就是 都升级为 https ,或者为内网资源加代理。
在代码层面已经无法解决这个跨域问题了。
https://wicg.github.io/private-network-access/