File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ function determineGlobalData(locale, globalData) {
3030}
3131
3232function determineGitHubStargazersCount ( locale , globalData ) {
33- $ . getJSON ( 'https://api.cryptomator.org/desktop/repo.json' , data => {
33+ $ . getJSON ( ` ${ API_BASE_URL } /connect/social/github` , data => {
3434 globalData . githubStargazers = formatNumber ( data . stargazers_count , locale ) ;
3535 } ) . fail ( ( ) => {
3636 console . error ( 'Error fetching repository data.' ) ;
3737 } ) ;
3838}
3939
4040function determineMastodonFollowersCount ( locale , globalData ) {
41- $ . getJSON ( 'https://api.cryptomator.org/ social/mastodon.json' , data => {
41+ $ . getJSON ( ` ${ API_BASE_URL } /connect/ social/mastodon` , data => {
4242 globalData . mastodonFollowers = formatNumber ( data . followers_count , locale ) ;
4343 } ) . fail ( ( ) => {
4444 console . error ( 'Error fetching Mastodon data.' ) ;
You can’t perform that action at this time.
0 commit comments