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) {
30
30
}
31
31
32
32
function determineGitHubStargazersCount ( locale , globalData ) {
33
- $ . getJSON ( 'https://api.cryptomator.org/desktop/repo.json' , data => {
33
+ $ . getJSON ( ` ${ API_BASE_URL } /connect/social/github` , data => {
34
34
globalData . githubStargazers = formatNumber ( data . stargazers_count , locale ) ;
35
35
} ) . fail ( ( ) => {
36
36
console . error ( 'Error fetching repository data.' ) ;
37
37
} ) ;
38
38
}
39
39
40
40
function determineMastodonFollowersCount ( locale , globalData ) {
41
- $ . getJSON ( 'https://api.cryptomator.org/ social/mastodon.json' , data => {
41
+ $ . getJSON ( ` ${ API_BASE_URL } /connect/ social/mastodon` , data => {
42
42
globalData . mastodonFollowers = formatNumber ( data . followers_count , locale ) ;
43
43
} ) . fail ( ( ) => {
44
44
console . error ( 'Error fetching Mastodon data.' ) ;
You can’t perform that action at this time.
0 commit comments