使用前端直传ali-oss时候出现错误
This XML file does not appear to have any style information associated with it. The document tree is shown below.\
<Error>
<Code>AccessDenied</Code>
<Message>Anonymous user has no right to access this bucket.</Message>
<RequestId>623F2484E63D7B33361D6A85</RequestId>
<HostId>lukeding-upload-test.oss-cn-hangzhou.aliyuncs.com</HostId>
</Error>
一度以为是oss配置出了问题,经过排查发现是出现了跨域问题
解决方法采取暴力配置: