From 06f889a137a266f90fe5b7a54a113788e88b4142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Fri, 19 Apr 2024 16:55:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=A6=E6=88=AA=E9=85=8D=E7=BD=AE=E4=B8=AD?= =?UTF-8?q?=EF=BC=8C=E9=85=8D=E7=BD=AE=E7=AF=A1=E6=94=B9=E7=8C=B4=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/config/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/core/src/config/index.js b/packages/core/src/config/index.js index aa17698..a74e76d 100644 --- a/packages/core/src/config/index.js +++ b/packages/core/src/config/index.js @@ -56,7 +56,11 @@ module.exports = { sni: 'baidu.com' }, '^(/[\\w-.]+){2,}/?(\\?.*)?$': { + // 自定义篡改猴插件地址配置 + tampermonkeyScript: 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/docmirror/dev-sidecar/scripts/tampermonkey.js', + // 脚本地址配置 script: [ + // Github油猴脚本 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/docmirror/dev-sidecar/scripts/github/monkey.js' ], scriptUrlDesc: '上面所使用的脚本地址,使用了高速镜像地址。',