Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PAGE ISSUE]: 'Dart SDK 归档' CORS 问题 #430

Closed
CaiJingLong opened this issue Mar 30, 2023 · 0 comments · Fixed by #450
Closed

[PAGE ISSUE]: 'Dart SDK 归档' CORS 问题 #430

CaiJingLong opened this issue Mar 30, 2023 · 0 comments · Fixed by #450
Assignees
Labels
E: 页面问题 页面内容有误或需要改进。

Comments

@CaiJingLong
Copy link

页面 URL

https://dart.cn/get-dart/archive/

页面源地址

https://github.com/cfug/dart.cn/tree/master/src/get-dart/archive/index.md

描述问题

获取 SDK 版本需要获取到配置文件

但因为源地址 https://storage.flutter-io.cn/storage/v1/b/dart-archive/o?delimiter=%2F&prefix=channels%2Fstable%2Frelease%2F&alt=json 不允许跨域,所以会失败

期望如何修复

为 storage.flutter-io.cn 的服务器添加部分允许跨域的配置

附加信息

image

@CaiJingLong CaiJingLong added the E: 页面问题 页面内容有误或需要改进。 label Mar 30, 2023
@chenglu chenglu self-assigned this Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E: 页面问题 页面内容有误或需要改进。
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants