From 084d99c77dfdd81efcbba4f1d7786debbb6c5849 Mon Sep 17 00:00:00 2001 From: czyt Date: Thu, 31 Oct 2024 13:54:21 +0800 Subject: [PATCH] add pub and flutter default upstream server addr --- src/recipe/lang/Dart/Flutter.c | 2 +- src/recipe/lang/Dart/Pub.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/recipe/lang/Dart/Flutter.c b/src/recipe/lang/Dart/Flutter.c index 1aa8023..a7b431d 100644 --- a/src/recipe/lang/Dart/Flutter.c +++ b/src/recipe/lang/Dart/Flutter.c @@ -16,7 +16,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 eca1015..bea392c 100644 --- a/src/recipe/lang/Dart/Pub.c +++ b/src/recipe/lang/Dart/Pub.c @@ -15,7 +15,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"}