File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -274,9 +274,19 @@ <h1 class="content__heading paddingTop" id="github_contributions">Github Contrib
274
274
</ div >
275
275
276
276
< script >
277
- GitHubCalendar ( ".calendar" , "onkar-shaligram" ) ;
278
- // or enable responsive functionality
279
- GitHubCalendar ( ".calendar" , "onkar-shaligram" , { responsive : true } ) ;
277
+ GitHubCalendar ( ".calendar" , "onkar-shaligram" ) ;
278
+
279
+ // or enable responsive functionality:
280
+ GitHubCalendar ( ".calendar" , "onkar-shaligram" ,
281
+ { responsive : true }
282
+ ) ;
283
+
284
+ // Use a proxy
285
+ GitHubCalendar ( ".calendar" , "onkar-shaligram" ,
286
+ { proxy ( username )
287
+ {
288
+ return fetch ( `https://your-proxy.com/github?user=${ username } ` ) . then ( r => r . text ( ) )
289
+ } } ) ;
280
290
</ script >
281
291
282
292
</ div >
@@ -429,3 +439,4 @@ <h1 class="content__heading">Get in Touch</h1>
429
439
</ body >
430
440
431
441
</ html >
442
+
You can’t perform that action at this time.
0 commit comments