Skip to content

Commit a5af407

Browse files
committed
Fix: 修复部分仓库的 README 是小写无法匹配的问题
1 parent a27dc36 commit a5af407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_content.gotmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
{{- /* Get the default README if the multi-language README is not available */ -}}
3434
{{- if not $readme -}}
35-
{{- $readmeAPI = printf "https://api.github.com/repos/%v/contents/README.md" $repo -}}
35+
{{- $readmeAPI = printf "https://api.github.com/repos/%v/readme" $repo -}}
3636
{{- $readme = partial "function/get-remote-json" (dict "URL" $readmeAPI "OPTIONS" $headers ) -}}
3737
{{- end -}}
3838

0 commit comments

Comments
 (0)