modify the default download address of ASN

This commit is contained in:
xishang0128 2024-09-11 19:37:20 +08:00 committed by pompurin404
parent e0ce3928bd
commit 801d03c374
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View File

@ -254,7 +254,7 @@ const resolveGeoIP = () =>
const resolveASN = () => const resolveASN = () =>
resolveResource({ resolveResource({
file: 'ASN.mmdb', file: 'ASN.mmdb',
downloadURL: `https://github.com/xishang0128/geoip/releases/download/latest/GeoLite2-ASN.mmdb` downloadURL: `https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/GeoLite2-ASN.mmdb`
}) })
const resolveEnableLoopback = () => const resolveEnableLoopback = () =>
resolveResource({ resolveResource({

View File

@ -101,7 +101,7 @@ export const defaultControledMihomoConfig: Partial<IMihomoConfig> = {
geoip: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat', geoip: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat',
geosite: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat', geosite: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat',
mmdb: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb', mmdb: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb',
asn: 'https://github.com/xishang0128/geoip/releases/download/latest/GeoLite2-ASN.mmdb' asn: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/GeoLite2-ASN.mmdb'
} }
} }

View File

@ -13,7 +13,7 @@ const GeoData: React.FC = () => {
geoip: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat', geoip: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geoip-lite.dat',
geosite: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat', geosite: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/geosite.dat',
mmdb: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb', mmdb: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/country-lite.mmdb',
asn: 'https://github.com/xishang0128/geoip/releases/download/latest/GeoLite2-ASN.mmdb' asn: 'https://github.com/MetaCubeX/meta-rules-dat/releases/download/latest/GeoLite2-ASN.mmdb'
}, },
'geodata-mode': geoMode = false, 'geodata-mode': geoMode = false,
'geo-auto-update': geoAutoUpdate = false, 'geo-auto-update': geoAutoUpdate = false,