Skip to content

Commit

Permalink
fix: Stash 服务器证书 SHA256 指纹字段为 server-cert-fingerprint
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed May 25, 2024
1 parent e28e2a7 commit cf156c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
3 changes: 3 additions & 0 deletions backend/src/core/proxy-utils/parsers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit cf156c2

Please sign in to comment.