Browse Source

梯子配置,添加chatgpt和openai相关域名。

pull/280/head
王良 8 months ago
parent
commit
bb47cc6a6f
  1. 2
      packages/core/src/config/index.js
  2. 1
      packages/core/src/config/remote_config.json5
  3. 7
      packages/core/src/modules/plugin/overwall/config.js

2
packages/core/src/config/index.js

@ -264,7 +264,7 @@ module.exports = {
},
mapping: {
'*.github.com': 'quad9',
'*.*github*.com': 'quad9',
'*github*.com': 'quad9',
'*.github.io': 'quad9',
'*.docker.com': 'quad9',
'*.docker*.com': 'quad9',

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

@ -43,6 +43,7 @@
"plugin": {
"overwall": {
"targets": {
"*.github.com": true,
"*github*.com": true,
"*.wikimedia.org": true,
"v2ex.com": true,

7
packages/core/src/modules/plugin/overwall/config.js

@ -13,7 +13,7 @@ module.exports = {
'*.github.com': true,
'*github*.com': true,
'*.wikimedia.org': true,
'*.v2ex.com': true,
'v2ex.com': true,
'*.azureedge.net': true,
'*.cloudfront.net': true,
'*.bing.com': true,
@ -36,7 +36,10 @@ module.exports = {
'*.intlify.dev': true,
'*.segment.io': true,
'*.shields.io': true,
'*.jsdelivr.net': true
'*.jsdelivr.net': true,
'*.openai.com': true,
'*.chatgpt.com': true,
'*.oaistatic.com': true
},
pac: {
enabled: true,

Loading…
Cancel
Save