在支付宝云手动上传文件夹,权限为公众权限
- 发布:2024-06-15 00:29
- 更新:2024-06-17 11:16
- 阅读:120
产品分类: uniCloud/支付宝小程序云
操作步骤:
预期结果:
能正常识别跨域配置,正常下载
能正常识别跨域配置,正常下载
实际结果:
Access to fetch at 'https://env-00jxge1mkcqr.normal.cloudstatic.cn/beau-acwy/avatar/defAvatar.jpg' from origin 'https://unicloud.dcloud.net.cn' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://beau.acwy.fun' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Access to fetch at 'https://env-00jxge1mkcqr.normal.cloudstatic.cn/beau-acwy/avatar/defAvatar.jpg' from origin 'https://unicloud.dcloud.net.cn' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://beau.acwy.fun' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
7***@qq.com (作者)
域名规则:
前面两个我都试过了,都是显示已添加,应该是默认有的,不然不会有的可以下载,有的不可以。
不过现在是行的了
2024-06-19 20:29