diff --git a/src/recipe/lang/Dart/Flutter.c b/src/recipe/lang/Dart/Flutter.c index 1aa8023c..52f7c1db 100644 --- a/src/recipe/lang/Dart/Flutter.c +++ b/src/recipe/lang/Dart/Flutter.c @@ -3,12 +3,14 @@ * ------------------------------------------------------------- * File Authors : Aoran Zeng * Contributors : Nil Null + * | czyt * Created On : <2023-09-10> - * Major Revision : 2 - * Last Modified : <2024-09-14> + * Major Revision : 3 + * Last Modified : <2024-10-31> * * 2024-09-14: 不得不将Dart和Flutter拆分为两个Target, * 因为3家教育网镜像站给出的 Dart 和 Flutter 换源URL模式都不一样 + * 2024-10-31: 补充FLUTTER_STORAGE_BASE_URL的默认源地址 * ------------------------------------------------------------*/ /** @@ -16,7 +18,7 @@ */ static SourceInfo pl_dart_flutter_sources[] = { - {&Upstream, NULL}, + {&Upstream, "https://storage.googleapis.com"}, {&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn"}, // 没有后缀,怀疑是否存在问题 {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/git/flutter"}, // URL 带 git {&Nju, "https://mirror.nju.edu.cn/flutter"} diff --git a/src/recipe/lang/Dart/Pub.c b/src/recipe/lang/Dart/Pub.c index eca1015f..0bea032a 100644 --- a/src/recipe/lang/Dart/Pub.c +++ b/src/recipe/lang/Dart/Pub.c @@ -3,9 +3,12 @@ * ------------------------------------------------------------- * File Authors : Aoran Zeng * Contributors : Nil Null + * | czyt * Created On : <2023-09-10> - * Major Revision : 3 - * Last Modified : <2024-09-14> + * Major Revision : 4 + * Last Modified : <2024-10-31> + * + * 2024-10-31: 补充PUB_HOSTED_URL的默认源地址 * * Dart Pub 软件仓库 * ------------------------------------------------------------*/ @@ -15,7 +18,7 @@ */ static SourceInfo pl_dart_sources[] = { - {&Upstream, NULL}, + {&Upstream, "https://pub.dev"}, {&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/dart-pub"}, {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/dart-pub"}, {&Nju, "https://mirror.nju.edu.cn/dart-pub"} diff --git a/src/recipe/lang/Go.c b/src/recipe/lang/Go.c index 66ecac95..44059574 100644 --- a/src/recipe/lang/Go.c +++ b/src/recipe/lang/Go.c @@ -3,8 +3,12 @@ * ------------------------------------------------------------- * File Authors : Aoran Zeng * Contributors : Nil Null + * | czyt * Created On : <2023-08-30> - * Last Modified : <2024-08-09> + * Major Revision : 1 + * Last Modified : <2024-10-31> + * + * 2024-10-31: 补充Go语言的默认GOPROXY地址 * ------------------------------------------------------------*/ static MirrorSite @@ -21,7 +25,7 @@ GoProxyIO = {"goproxy.io", "GOPROXY.IO", "GOPROXY.IO", "https://gopr */ static SourceInfo pl_go_sources[] = { - {&Upstream, NULL}, + {&Upstream, "https://proxy.golang.org,direct"}, {&GoProxyCN, "https://goproxy.cn"}, {&Ali, "https://mirrors.aliyun.com/goproxy/"}, {&Huawei, "https://mirrors.huaweicloud.com/goproxy/"},