mirror of
https://github.com/uklans/cache-domains
synced 2025-06-18 23:52:55 +02:00
Merge branch 'uklans:master' into master
This commit is contained in:
commit
b48095172c
@ -1,4 +1,5 @@
|
|||||||
cdn1.epicgames.com
|
cdn1.epicgames.com
|
||||||
|
cdn2.epicgames.com
|
||||||
cdn.unrealengine.com
|
cdn.unrealengine.com
|
||||||
cdn1.unrealengine.com
|
cdn1.unrealengine.com
|
||||||
cdn2.unrealengine.com
|
cdn2.unrealengine.com
|
||||||
@ -9,3 +10,4 @@ download3.epicgames.com
|
|||||||
download4.epicgames.com
|
download4.epicgames.com
|
||||||
epicgames-download1.akamaized.net
|
epicgames-download1.akamaized.net
|
||||||
fastly-download.epicgames.com
|
fastly-download.epicgames.com
|
||||||
|
cloudflare.epicgamescdn.com
|
||||||
|
@ -52,10 +52,12 @@ while read -r entry; do
|
|||||||
fi
|
fi
|
||||||
parsed=$(echo ${fileentry} | sed -e "s/^\*\.//")
|
parsed=$(echo ${fileentry} | sed -e "s/^\*\.//")
|
||||||
for i in ${cacheip}; do
|
for i in ${cacheip}; do
|
||||||
if grep -qx "address=/${parsed}/${i}" "${outputfile}"; then
|
if ! grep -qx "address=/${parsed}/${i}" "${outputfile}"; then
|
||||||
continue
|
|
||||||
fi
|
|
||||||
echo "address=/${parsed}/${i}" >> "${outputfile}"
|
echo "address=/${parsed}/${i}" >> "${outputfile}"
|
||||||
|
fi
|
||||||
|
if ! grep -qx "local=/${parsed}/" "${outputfile}"; then
|
||||||
|
echo "local=/${parsed}/" >> "${outputfile}"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
done <<< $(cat ${basedir}/${filename} | sort);
|
done <<< $(cat ${basedir}/${filename} | sort);
|
||||||
done <<< $(jq -r ".cache_domains[${entry}].domain_files[$fileid]" ${path})
|
done <<< $(jq -r ".cache_domains[${entry}].domain_files[$fileid]" ${path})
|
||||||
|
Loading…
Reference in New Issue
Block a user