diff options
author | Nardi Ivan <nardi.ivan@gmail.com> | 2024-02-24 12:45:09 +0100 |
---|---|---|
committer | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-02-26 09:26:21 +0100 |
commit | 478c31b6c941368f4bcc89783bda9780a621d4f0 (patch) | |
tree | 5baed98b8322b36f7396567deb89061cd8846a44 | |
parent | ed5ba179f6461fff2a586e3f1a95e5e392c5b540 (diff) |
utils: update script to download Cloudflare ips
-rwxr-xr-x | utils/cloudflare_ip_addresses_download.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/cloudflare_ip_addresses_download.sh b/utils/cloudflare_ip_addresses_download.sh index 15a20ba9c..f30dfb288 100755 --- a/utils/cloudflare_ip_addresses_download.sh +++ b/utils/cloudflare_ip_addresses_download.sh @@ -10,8 +10,8 @@ LIST=/tmp/cloudflare.list LIST6=/tmp/cloudflare.list6 LIST_MERGED=/tmp/cloudflare.list_m LIST6_MERGED=/tmp/cloudflare.list6_m -ORIGIN="https://www.cloudflare.com/ips-v4" -ORIGIN6="https://www.cloudflare.com/ips-v6" +ORIGIN="https://www.cloudflare.com/ips-v4/" +ORIGIN6="https://www.cloudflare.com/ips-v6/" echo "(1) Downloading file... ${ORIGIN}" http_response=$(curl -s -o $LIST -w "%{http_code}" ${ORIGIN}) |