提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档
文章目录
前言
一般情况下跨域问题,请参考这篇文章解决:
https://blog.csdn.net/abs1004/article/details/76895652
CORS private 外网访问内网的跨域问题,跨域问题的终极暴力解决方案
Access to XMLHttpRequest at 'http://10.1.1.1:8080/web-api/login' from origin 'http://xxx.com' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space private
此场景(公网请求私网)后端添加放行了也会报错。
场景如下:
前端部署后,