This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch nginx
in repository https://gitbox.apache.org/repos/asf/answer-website.git
The following commit(s) were added to refs/heads/nginx by this push:
new 7ad09ede0 fix: fetch url change
7ad09ede0 is described below
commit 7ad09ede0ff5654966d1f4d8ff8db43da5a01604
Author: shuai <[email protected]>
AuthorDate: Mon Feb 17 14:42:56 2025 +0800
fix: fetch url change
---
src/components/HomePageHeader/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/HomePageHeader/index.tsx
b/src/components/HomePageHeader/index.tsx
index e350f56e9..48ed3412a 100644
--- a/src/components/HomePageHeader/index.tsx
+++ b/src/components/HomePageHeader/index.tsx
@@ -40,7 +40,7 @@ const HomeHead: FC = () => {
useEffect(() => {
- fetch('/github-stars/apache/answer')
+ fetch('https://img.shields.io/github/stars/apache/answer')
.then((response) => response.text())
.then((data) => {
const num = data.match(/<text .*>(.*?)<\/text>/)[1];