Skip to content

Commit b1fd8bb

Browse files
Fix ghproxy site for China mainland users
Signed-off-by: Nicholas Sun <nicholas-sun@outlook.com>
1 parent 49ccb34 commit b1fd8bb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PATCH/script/updategeo.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/sh
22

3-
geoip_url="https://ghproxy.com/https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat"
3+
geoip_url="https://mirror.ghproxy.com/https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat"
44
geoip_path="/tmp/geoip.dat"
5-
geosite_url="https://ghproxy.com/https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat"
5+
geosite_url="https://mirror.ghproxy.com/https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat"
66
geosite_path="/tmp/geosite.dat"
7-
geoip_hash_url="https://ghproxy.com/https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat.sha256sum"
7+
geoip_hash_url="https://mirror.ghproxy.com/https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat.sha256sum"
88
geoip_hash_path="/tmp/geoip.dat.sha256sum"
9-
geosite_hash_url="https://ghproxy.com/https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat.sha256sum"
9+
geosite_hash_url="https://mirror.ghproxy.com/https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat.sha256sum"
1010
geosite_hash_path="/tmp/geosite.dat.sha256sum"
1111

1212
echo -e "\033[33mStart Downloading...... It won't take long\033[0m"

0 commit comments

Comments
 (0)