From a04f16bfa481aef3aa0e54c8e28073b0e77be06c Mon Sep 17 00:00:00 2001 From: jiangrui Date: Fri, 7 Mar 2025 16:52:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9123=E7=BD=91=E7=9B=98?= =?UTF-8?q?=E5=8C=B9=E9=85=8D=E6=AD=A3=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/config/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/config/index.ts b/backend/src/config/index.ts index bc21cc7..789cf4b 100644 --- a/backend/src/config/index.ts +++ b/backend/src/config/index.ts @@ -69,7 +69,8 @@ export const config: Config = { aliyun: /https?:\/\/\w+\.(?:alipan|aliyundrive)\.com\/[^\s<>"]+/g, // pan115有两个域名 115.com 和 anxia.com 和 115cdn.com pan115: /https?:\/\/(?:115|anxia|115cdn)\.com\/s\/[^\s<>"]+/g, - pan123: /https?:\/\/www\.(?:123pan|123912)\.com\/s\/[^\s<>"]+/g, + // 修改为匹配所有以123开头的域名 + pan123: /https?:\/\/(?:www\.)?123[^\/\s<>"]+\.com\/s\/[^\s<>"]+/g, quark: /https?:\/\/pan\.quark\.cn\/[^\s<>"]+/g, yidong: /https?:\/\/yun\.139\.com\/[^\s<>"]+/g, },