From c0012f0bae05c0ed2a8f68e40dbee52bdd946265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Tue, 16 Apr 2024 14:32:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=A6=E6=88=AA=E9=85=8D=E7=BD=AE=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/config/index.js b/packages/core/src/config/index.js index 6fa1650f..b154b725 100644 --- a/packages/core/src/config/index.js +++ b/packages/core/src/config/index.js @@ -63,7 +63,7 @@ module.exports = { // '/.*/.*/blame/': { // redirect: 'gh.api.99988866.xyz/https://github.com' // }, - '^(/[^/.]{1,30}){2}([/?].*)?$': { + '^(/[\\w-]{1,30}){2,}(\\?.*)?$': { script: [ 'github' ],