From cf156c2f175dd7dbedbaad0e2a28912bbf0565c3 Mon Sep 17 00:00:00 2001 From: xream Date: Sat, 25 May 2024 18:54:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Stash=20=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E8=AF=81=E4=B9=A6=20SHA256=20=E6=8C=87=E7=BA=B9=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E4=B8=BA=20server-cert-fingerprint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package.json | 2 +- backend/src/core/proxy-utils/parsers/index.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/package.json b/backend/package.json index 8a9a7d6cf..9430c40cf 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.315", + "version": "2.14.316", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/parsers/index.js b/backend/src/core/proxy-utils/parsers/index.js index 8c24341e7..7767537f2 100644 --- a/backend/src/core/proxy-utils/parsers/index.js +++ b/backend/src/core/proxy-utils/parsers/index.js @@ -851,6 +851,9 @@ function Clash_All() { } } + if (proxy['server-cert-fingerprint']) { + proxy['tls-fingerprint'] = proxy['server-cert-fingerprint']; + } if (proxy.fingerprint) { proxy['tls-fingerprint'] = proxy.fingerprint; }