This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-website.git
The following commit(s) were added to refs/heads/main by this push:
new b7cfd4666 fix: update download links to use the Apache closer URL for
better reliability (#279)
b7cfd4666 is described below
commit b7cfd466685c1d5a39bcd1d636470c7cd8110a11
Author: robin <[email protected]>
AuthorDate: Thu Dec 5 11:01:53 2024 +0800
fix: update download links to use the Apache closer URL for better
reliability (#279)
---
src/pages/download.tsx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/pages/download.tsx b/src/pages/download.tsx
index ee4ec7a65..6e61f5002 100644
--- a/src/pages/download.tsx
+++ b/src/pages/download.tsx
@@ -33,7 +33,7 @@ export default function Plugins(): JSX.Element {
<ul className="list-unstyled mb-0">
<li>
<a
-
href={`https://downloads.apache.org/incubator/answer/${item}-incubating/apache-answer-${item}-incubating-src.tar.gz`}
+
href={`https://www.apache.org/dyn/closer.lua/incubator/answer/${item}-incubating/apache-answer-${item}-incubating-src.tar.gz?action=download`}
target="_blank"
rel="noopener noreferrer"
>
@@ -59,7 +59,7 @@ export default function Plugins(): JSX.Element {
</li>
<li>
<a
-
href={`https://downloads.apache.org/incubator/answer/${item}-incubating/apache-answer-${item}-incubating-bin-darwin-arm64.tar.gz`}
+
href={`https://www.apache.org/dyn/closer.lua/incubator/answer/${item}-incubating/apache-answer-${item}-incubating-bin-darwin-arm64.tar.gz?action=download`}
target="_blank"
rel="noopener noreferrer"
>
@@ -85,7 +85,7 @@ export default function Plugins(): JSX.Element {
</li>
<li>
<a
-
href={`https://downloads.apache.org/incubator/answer/${item}-incubating/apache-answer-${item}-incubating-bin-linux-amd64.tar.gz`}
+
href={`https://www.apache.org/dyn/closer.lua/incubator/answer/${item}-incubating/apache-answer-${item}-incubating-bin-linux-amd64.tar.gz?action=download`}
target="_blank"
rel="noopener noreferrer"
>
@@ -111,7 +111,7 @@ export default function Plugins(): JSX.Element {
</li>
<li>
<a
-
href={`https://downloads.apache.org/incubator/answer/${item}-incubating/apache-answer-${item}-incubating-bin-linux-arm64.tar.gz`}
+
href={`https://www.apache.org/dyn/closer.lua/incubator/answer/${item}-incubating/apache-answer-${item}-incubating-bin-linux-arm64.tar.gz?action=download`}
target="_blank"
rel="noopener noreferrer"
>
@@ -137,7 +137,7 @@ export default function Plugins(): JSX.Element {
</li>
<li>
<a
-
href={`https://downloads.apache.org/incubator/answer/${item}-incubating/apache-answer-${item}-incubating-bin-windows-amd64.tar.gz`}
+
href={`https://www.apache.org/dyn/closer.lua/incubator/answer/${item}-incubating/apache-answer-${item}-incubating-bin-windows-amd64.tar.gz?action=download`}
target="_blank"
rel="noopener noreferrer"
>