Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liuran001 authored Nov 11, 2023
1 parent a4b0744 commit d8d028e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
18 changes: 10 additions & 8 deletions .vitepress/components/FetchInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,16 @@ export default {
.catch(error => {
console.error('Error fetching data from', githubApiUrl1, 'Error:', error);
// If the first request fails, try the second one
fetch(githubApiUrl2)
.then(response => response.json())
.then(data => {
handleResponse(data);
})
.catch(error => {
console.error('Error fetching data from', githubApiUrl2, 'Error:', error);
});
setTimeout(() => {
fetch(githubApiUrl2)
.then(response => response.json())
.then(data => {
handleResponse(data);
})
.catch(error => {
console.error('Error fetching data from', githubApiUrl2, 'Error:', error);
});
}, 500);
});
function handleResponse(data) {
Expand Down
4 changes: 2 additions & 2 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ export default defineConfig( {
themeConfig: {
footer: {
message: 'AGPL-3.0 Licensed',
copyright: 'Copyright © 2023 Sevtinge'
copyright: 'Copyright © 2023 saraSaku.Hj & Sevtinge'
},
socialLinks: [
{ icon: 'github', link: 'https://github.com/saraSakuHj/Hyperceiler' }
{ icon: 'github', link: 'https://github.com/saraSakuHj/HyperCeiler' }
]
}
})
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# HyperCeiler 官方网站

中文 | [English](/en_README.md)
中文 | [English](/README_en.md)

https://hyperceiler.sevtinge.cc

Expand Down
File renamed without changes.

0 comments on commit d8d028e

Please sign in to comment.