在开发模式下一切 正常, 但是在正式发行环境https 下,报跨域错误,Access to XMLHttpRequest at 'https://api.next.bspapp.com/client' from origin 'https://xz.lizhi0123.icu' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
怎么解决呀?
![lizhi0321](https://img-cdn-tc.dcloud.net.cn/account/identicon/32c542e9cca032d9ee1725fe399459b4.png)
lizhi0321
- 发布:2023-06-19 17:21
- 更新:2023-06-19 17:40
- 阅读:316
![](http://img-cdn-tc.dcloud.net.cn/uploads/questions/20230619/68c7e489db4adb727d7d7a44020b4541.png)