optimize: 预设IP调整为map配置。

pull/434/head
王良 2025-01-10 13:58:24 +08:00
parent 3a53756e23
commit 9bd0b58ba0
1 changed files with 59 additions and 59 deletions

View File

@ -294,65 +294,65 @@ module.exports = {
},
// 预设置IP列表
preSetIpList: {
'github.com': [
'4.237.22.38',
'20.26.156.215',
'20.27.177.113',
'20.87.245.0',
'20.200.245.247',
'20.201.28.151',
'20.205.243.166',
'140.82.113.3',
'140.82.114.4',
'140.82.116.3',
'140.82.116.4',
'140.82.121.3',
'140.82.121.4',
],
'api.github.com': [
'20.26.156.210',
'20.27.177.116',
'20.87.245.6',
'20.200.245.245',
'20.201.28.148',
'20.205.243.168',
'20.248.137.49',
'140.82.112.5',
'140.82.113.6',
'140.82.116.6',
'140.82.121.6',
],
'codeload.github.com': [
'20.26.156.216',
'20.27.177.114',
'20.87.245.7',
'20.200.245.246',
'20.201.28.149',
'20.205.243.165',
'20.248.137.55',
'140.82.113.9',
'140.82.114.10',
'140.82.116.10',
'140.82.121.9',
],
'*.githubusercontent.com': [
'185.199.108.133',
'185.199.109.133',
'185.199.110.133',
'185.199.111.133',
],
'github.githubassets.com': [
'185.199.108.154',
'185.199.109.154',
'185.199.110.154',
'185.199.111.154',
],
'github.io': [
'185.199.108.153',
'185.199.109.153',
'185.199.110.153',
'185.199.111.153',
],
'github.com': {
'4.237.22.38': true,
'20.26.156.215': true,
'20.27.177.113': true,
'20.87.245.0': true,
'20.200.245.247': true,
'20.201.28.151': true,
'20.205.243.166': true,
'140.82.113.3': true,
'140.82.114.4': true,
'140.82.116.3': true,
'140.82.116.4': true,
'140.82.121.3': true,
'140.82.121.4': true,
},
'api.github.com': {
'20.26.156.210': true,
'20.27.177.116': true,
'20.87.245.6': true,
'20.200.245.245': true,
'20.201.28.148': true,
'20.205.243.168': true,
'20.248.137.49': true,
'140.82.112.5': true,
'140.82.113.6': true,
'140.82.116.6': true,
'140.82.121.6': true,
},
'codeload.github.com': {
'20.26.156.216': true,
'20.27.177.114': true,
'20.87.245.7': true,
'20.200.245.246': true,
'20.201.28.149': true,
'20.205.243.165': true,
'20.248.137.55': true,
'140.82.113.9': true,
'140.82.114.10': true,
'140.82.116.10': true,
'140.82.121.9': true,
},
'*.githubusercontent.com': {
'185.199.108.133': true,
'185.199.109.133': true,
'185.199.110.133': true,
'185.199.111.133': true,
},
'github.githubassets.com': {
'185.199.108.154': true,
'185.199.109.154': true,
'185.199.110.154': true,
'185.199.111.154': true,
},
'github.io': {
'185.199.108.153': true,
'185.199.109.153': true,
'185.199.110.153': true,
'185.199.111.153': true,
},
},
whiteList: {
'*.cn': true,