File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ async function chHeader(context, opts) {
99
1010 async loadContent ( ) {
1111 let github_stars = 38100 ;
12- try {
13- const githubData = await fetch (
14- 'https://api.github.com/repos/ClickHouse/ClickHouse'
15- )
16- const data = await githubData . json ( )
17- github_stars = data ?. stargazers_count ?? github_stars
18- } catch ( error ) {
19- console . warn ( 'Failed to fetch GitHub stars:' , error )
20- }
12+ // try {
13+ // const githubData = await fetch(
14+ // 'https://api.github.com/repos/ClickHouse/ClickHouse'
15+ // )
16+ // const data = await githubData.json()
17+ // github_stars = data?.stargazers_count ?? github_stars
18+ // } catch (error) {
19+ // console.warn('Failed to fetch GitHub stars:', error)
20+ // }
2121 return {
2222 github_stars,
2323 menuItems
Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ export default function NavbarContent() {
355355 minimumFractionDigits : 1 ,
356356 maximumFractionDigits : 1 ,
357357 } )
358- . format ( github_stars )
358+ . format ( 38100 )
359359 . toLowerCase ( ) }
360360 </ span >
361361 </ div >
You can’t perform that action at this time.
0 commit comments