Remove use of RawGit CDN (https://twitter.com/rawgit/status/1049360165030567937)
This commit is contained in:
parent
5e709822b3
commit
1f9dc5d152
|
|
@ -78,11 +78,12 @@ for image in "${images[@]}"; do
|
|||
if [ "$logoFile" ]; then
|
||||
logoCommit="$(git log -1 --format='format:%H' -- "$logoFile" 2>/dev/null || true)"
|
||||
[ "$logoCommit" ] || logoCommit='master'
|
||||
logoUrl="https://raw.githubusercontent.com/docker-library/docs/$logoCommit/$logoFile"
|
||||
if [ "${logoFile##*.}" = 'svg' ]; then
|
||||
logo=""
|
||||
else
|
||||
logo=""
|
||||
# https://stackoverflow.com/a/16462143/433558
|
||||
logoUrl+='?sanitize=true'
|
||||
fi
|
||||
logo=""
|
||||
fi
|
||||
|
||||
stack=
|
||||
|
|
|
|||
Loading…
Reference in New Issue