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

[Mirror issue] 使用 https://dartpad.cn/inject_embed.dart.js 中国镜像的问题 #1410

Closed
AmosHuKe opened this issue Feb 22, 2024 · 1 comment
Assignees
Labels
E: 镜像问题 镜像无法使用或错误。

Comments

@AmosHuKe
Copy link
Member

AmosHuKe commented Feb 22, 2024

问题镜像 URL

https://dartpad.cn/inject_embed.dart.js

错误内容截图或 log

目前 flutter.cn 或者其他使用了 dartpad 内嵌代码的网站,
均无法正常使用。

原因是上游弃用了 inject_embed.dart.js 这种嵌入方式。
(说明:dart-lang/dart-pad/wiki/Embedding-Guide

上游正在讨论一种更为轻量的形式(dart-lang/dart-pad/issues/2702)。

例如:
❌ 镜像:https://flutter.cn/docs/cookbook/images/network-image
✅ 上游:https://docs.flutter.dev/cookbook/images/network-image

❌ 镜像:https://dartpad.cn/inject_embed.dart.js
✅ 上游:https://old-dartpad-3ce3f.web.app/inject_embed.dart.js

pubspec.yaml

No response

网络环境

电信

flutter doctor -v

No response

@AmosHuKe AmosHuKe added the E: 镜像问题 镜像无法使用或错误。 label Feb 22, 2024
@AmosHuKe
Copy link
Member Author

已解决,cfug/dart.cn#459

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E: 镜像问题 镜像无法使用或错误。
Projects
None yet
Development

No branches or pull requests

2 participants