File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const getGitHubThemeData = async (apiTheme: ApiTheme) => {
16
16
const meta = await ( await fetch ( metaUrl ) ) . json ( ) ;
17
17
18
18
const contentUrl = `${ cdnUrl } /${ themeId } /${ meta . version } ` ;
19
+
19
20
// fetch contents
20
21
const displayFile = 'display.png' ;
21
22
const settingsFile = 'settings.json' ;
@@ -28,7 +29,8 @@ const getGitHubThemeData = async (apiTheme: ApiTheme) => {
28
29
const cssStylesUrl = `${ contentUrl } /${ cssStylesFile } ` ;
29
30
30
31
// todo: fetch from github url (can use jsdelivr cache too)
31
- const authorImg = '' ;
32
+
33
+ const authorImg = `https://avatars.githubusercontent.com/${ meta . github } `
32
34
33
35
// todo: explore whether tags should be stored in database or via meta.json on github
34
36
const tags = [ 'beta' ] ;
You can’t perform that action at this time.
0 commit comments