This is an automated email from the ASF dual-hosted git repository.
jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 460f877b04b [fix](download_link) use apache link for archieve (#216)
460f877b04b is described below
commit 460f877b04bb5b6bb8cb14bed999075ea2467f73
Author: Mingyu Chen <[email protected]>
AuthorDate: Mon Apr 24 16:44:45 2023 +0800
[fix](download_link) use apache link for archieve (#216)
---
src/constant/download.data.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/constant/download.data.ts b/src/constant/download.data.ts
index 3d784205d02..ae0fdd799e8 100644
--- a/src/constant/download.data.ts
+++ b/src/constant/download.data.ts
@@ -21,7 +21,8 @@ const SPARK_CONNECTOR_LINK =
'https://dist.apache.org/repos/dist/release/';
const CHINA_SPARK_CONNECTOR_MIRROR_LINK = CHINA_MIRROR_LINK;
const ALL_RELEASE_LINK = 'https://archive.apache.org/dist/';
-const CHINA_ALL_RELEASE_MIRROR_LINK =
'https://mirrors.tuna.tsinghua.edu.cn/apache/';
+// There is no mirror site for archieve in China, so use same link.
+const CHINA_ALL_RELEASE_MIRROR_LINK = 'https://archive.apache.org/dist/';
export function getAllDownloadLinks(locale: string) {
const sources = locale.toLocaleUpperCase() === 'EN' ? APACHE_LINK :
CHINA_MIRROR_LINK;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]