Browse Source

共享远程配置文件内容复制gitee仓库中的共享远程配置内容。

pull/366/head
王良 2 months ago
parent
commit
524b82a42d
  1. 196
      packages/core/src/config/remote_config.json5

196
packages/core/src/config/remote_config.json5

@ -1,89 +1,113 @@
{ {
"server": { "server": {
"intercepts": { "intercepts": {
"github.com": { "github.com": {
"^((/[^/]+){2,})/raw((/[^/]+)+\\.(jpg|jpeg|png|gif))(\\?.*)?$": { "^(/[\\w-.]+){2,}/?(\\?.*)?$": {
"sni": "baidu.com" // proxy拦截器不会使用 .* 中的sni配置,故补充此配置 "tampermonkeyScript": "https://gitee.com/wangliang181230/dev-sidecar/raw/scripts/tampermonkey.js",
}, "script": "https://gitee.com/wangliang181230/dev-sidecar/raw/scripts/GithubEnhanced-High-Speed-Download.user.js"
"^((/[^/]+){2,})/raw((/[^/]+)+\\.js)(\\?.*)?$": { },
"sni": "baidu.com" // proxy拦截器不会使用 .* 中的sni配置,故补充此配置 "^((/[^/]+){2,})/raw((/[^/]+)+\\.(jpg|jpeg|png|gif))(\\?.*)?$": {
} "sni": "baidu.com" // proxy拦截器不会使用 .* 中的sni配置,故补充此配置
}, },
"github.githubassets.com": { "^((/[^/]+){2,})/raw((/[^/]+)+\\.js)(\\?.*)?$": {
".*": { "sni": "baidu.com" // proxy拦截器不会使用 .* 中的sni配置,故补充此配置
"sni": "baidu.com" }
} },
}, "github.githubassets.com": {
"camo.githubusercontent.com": { ".*": {
".*": { "sni": "baidu.com"
"sni": "baidu.com" }
} },
}, "camo.githubusercontent.com": {
"collector.github.com": { ".*": {
".*": { "sni": "baidu.com"
"sni": "baidu.com" }
} },
}, "collector.github.com": {
"www.gstatic.com": { ".*": {
"/recaptcha/.*": { "sni": "baidu.com"
"proxy": "www.recaptcha.net" }
} },
} "www.gstatic.com": {
}, "/recaptcha/.*": {
"preSetIpList": { "proxy": "www.recaptcha.net"
"hub.docker.com": null // 1.8.2版本中,该域名的预设IP有问题,现在远程配置中删除 }
}, }
"dns": { },
"mapping": { "preSetIpList": {
"*.jetbrains.com": "quad9", "hub.docker.com": null // 1.8.2版本中,该域名的预设IP有问题,现在远程配置中删除
"*.azureedge.net": "quad9", },
"*.stackoverflow.com": "quad9" "dns": {
}, "mapping": {
"speedTest": { "*.jetbrains.com": "quad9",
"interval": 300000 "*.azureedge.net": "quad9",
} "*.stackoverflow.com": "quad9"
} },
}, "speedTest": {
"proxy": { "interval": 300000
"excludeIpList": { }
// Github文件上传所使用的域名,被DS代理会导致文件上传经常失败,从系统代理中排除掉 }
"objects-origin.githubusercontent.com": true, },
"proxy": {
"excludeIpList": {
// Github文件上传所使用的域名,被DS代理会导致文件上传经常失败,从系统代理中排除掉
"objects-origin.githubusercontent.com": true,
// Github通过Actions上传的文件,下载时所需的域名,从系统代理中排除掉,否则下载会失败
"*.windows.net": true,
// cloudflare:排除以下域名,cloudflare的人机校验会更快,成功率更高。 // cloudflare:排除以下域名,cloudflare的人机校验会更快,成功率更高。
"challenges.cloudflare.com": true "*.cloudflare.com": true,
} "*.cloudflare-cn.com": true,
},
"plugin": { "*kaspersky*.com": true,
"overwall": { "*.upd.kaspersky.com": true,
"targets": {
"*.github.com": true, "*.github.io": true,
"*github*.com": true,
"*.wikimedia.org": true, "*.sandboxie-plus.com": true
"*.v2ex.com": true, }
"*.azureedge.net": true, },
"*.cloudfront.net": true, "plugin": {
"*.bing.com": true, "overwall": {
"*.discourse-cdn.com": true, "targets": {
"*.gravatar.com": true, "*.github.com": true,
"*.docker.com": true, "*github*.com": true,
"*.vueuse.org": true, "*.nodejs.org": true,
"*.elastic.co": true, "*.npmjs.com": true,
"*.optimizely.com": true, "*.wikimedia.org": true,
"*.stackpathcdn.com": true, "*.v2ex.com": true,
"*.fastly.net": true, "*.azureedge.net": true,
"*.cloudflare.com": true, "*.cloudfront.net": true,
"*.233v2.com": true, "*.bing.com": true,
"*.v2fly.org": true, "*.discourse-cdn.com": true,
"*.telegram.org": true, "*.gravatar.com": true,
"*.amazon.com": true, "*.docker.com": true,
"*.googleapis.com": true, "*.vueuse.org": true,
"*.google-analytics.com": true, "*.elastic.co": true,
"*.cloudflareinsights.com": true, "*.optimizely.com": true,
"*.intlify.dev": true, "*.stackpathcdn.com": true,
"*.segment.io": true, "*.fastly.net": true,
"*.shields.io": true, "*.cloudflare.com": true,
"*.jsdelivr.net": true "*.233v2.com": true,
} "*.v2fly.org": true,
} "*.telegram.org": true,
} "*.amazon.com": true,
"*.googleapis.com": true,
"*.google-analytics.com": true,
"*.cloudflareinsights.com": true,
"*.intlify.dev": true,
"*.segment.io": true,
"*.shields.io": true,
"*.jsdelivr.net": true,
// ChatGPT
"*.oaiusercontent.com": true, // 在ChatGPT中生成文件并下载所需的域名
// Pixiv相关
"*.pixiv.org": true,
"*.fanbox.cc": true,
"*.onesignal.com": true // pixiv站点,会加载该域名下的js脚本
}
}
}
} }

Loading…
Cancel
Save