From 6ee9c922e02b6f7401602e7fe88a2e064ed1eec3 Mon Sep 17 00:00:00 2001 From: Kloping <3474006766@qq.com> Date: Sun, 10 May 2026 16:45:43 +0800 Subject: [PATCH 1/2] fix(dashboard): dashboard account management page width adaptive --- src/dashboard/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dashboard/index.html b/src/dashboard/index.html index 9868493..cc91b7d 100644 --- a/src/dashboard/index.html +++ b/src/dashboard/index.html @@ -144,7 +144,7 @@ flex: 1; padding: 28px 36px 40px; min-height: 100vh; - max-width: 1400px; + /*max-width: 1400px; */ /*对于账号邮箱长的数据行 操作部分 被挤压无法操作. 不限制最大宽度 而是自适应屏幕宽度最佳*/ } .page-header { display: flex; From 66fbb3d09b9f44aa57aec102cbb31bddf65632da Mon Sep 17 00:00:00 2001 From: Kloping <3474006766@qq.com> Date: Mon, 11 May 2026 13:43:48 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(proxy):=20=E8=A7=A3=E5=86=B3=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E8=AF=B7=E6=B1=82=E4=B8=AD=E7=9A=84=E7=A7=81=E6=9C=89?= =?UTF-8?q?IP=E5=9C=B0=E5=9D=80=E6=A3=80=E6=9F=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 注释掉对私有IP地址的检查逻辑以避免错误抛出 - 保留IP地址解析和验证的基本功能 - 移除可能导致合法请求被拒绝的私有IP检测代码 --- src/net-safety.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net-safety.js b/src/net-safety.js index 3230c11..2713fdf 100644 --- a/src/net-safety.js +++ b/src/net-safety.js @@ -90,7 +90,7 @@ export async function resolvePublicAddresses(hostname, lookupFn = dnsLookup) { const host = String(hostname || '').replace(/^\[|\]$/g, ''); if (!host || host.toLowerCase() === 'localhost') throw new Error('ERR_PROXY_PRIVATE_HOST'); if (net.isIP(host)) { - if (isPrivateIp(host)) throw new Error('ERR_PROXY_PRIVATE_IP'); + // if (isPrivateIp(host)) throw new Error('ERR_PROXY_PRIVATE_IP'); return [{ address: host, family: net.isIP(host) }]; } const result = await new Promise((resolve, reject) => { @@ -98,7 +98,7 @@ export async function resolvePublicAddresses(hostname, lookupFn = dnsLookup) { }); const addrs = Array.isArray(result) ? result : [result]; for (const a of addrs) { - if (isPrivateIp(a.address)) throw new Error('ERR_PROXY_PRIVATE_IP'); + // if (isPrivateIp(a.address)) throw new Error('ERR_PROXY_PRIVATE_IP'); } return addrs; }