summarylogtreecommitdiffstats
path: root/vxray-rules-dat-updater
diff options
context:
space:
mode:
Diffstat (limited to 'vxray-rules-dat-updater')
-rwxr-xr-xvxray-rules-dat-updater5
1 files changed, 4 insertions, 1 deletions
diff --git a/vxray-rules-dat-updater b/vxray-rules-dat-updater
index ccbca68a553..be8427eaf1d 100755
--- a/vxray-rules-dat-updater
+++ b/vxray-rules-dat-updater
@@ -3,8 +3,9 @@
set -e
FastGit="https://hub.fastgit.org/Loyalsoldier/v2ray-rules-dat/releases/latest/"
-GitHub="https://github.com/Loyalsoldier/v2ray-rules-dat/raw/releases"
+GitHub="https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download"
JsDelivr="https://cdn.jsdelivr.net/gh/Loyalsoldier/v2ray-rules-dat@release/"
+CfCDN="https://cfgit.cern.ga/Loyalsoldier/v2ray-rules-dat/releases/latest/download"
download_files() {
echo "Fetching geoip.dat"
@@ -27,6 +28,8 @@ case "${1}" in
"jsdelivr" | "js")
download_files $JsDelivr
;;
+"cfcdn" | "cf"
+ download_files $CfCDN
*)
download_files $GitHub
;;