fix: Stash 服务器证书 SHA256 指纹字段为 server-cert-fingerprint

This commit is contained in:
xream 2024-05-25 18:54:51 +08:00
parent e28e2a78fb
commit cf156c2f17
No known key found for this signature in database
GPG Key ID: 1D2C5225471789F9
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "sub-store", "name": "sub-store",
"version": "2.14.315", "version": "2.14.316",
"description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.",
"main": "src/main.js", "main": "src/main.js",
"scripts": { "scripts": {

View File

@ -851,6 +851,9 @@ function Clash_All() {
} }
} }
if (proxy['server-cert-fingerprint']) {
proxy['tls-fingerprint'] = proxy['server-cert-fingerprint'];
}
if (proxy.fingerprint) { if (proxy.fingerprint) {
proxy['tls-fingerprint'] = proxy.fingerprint; proxy['tls-fingerprint'] = proxy.fingerprint;
} }