mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 05:39:01 +08:00
fix: sing-box fingerprint
This commit is contained in:
parent
228566116d
commit
42404537e8
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sub-store",
|
"name": "sub-store",
|
||||||
"version": "2.14.179",
|
"version": "2.14.180",
|
||||||
"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": {
|
||||||
|
@ -205,6 +205,11 @@ const tlsParser = (proxy, parsedProxy) => {
|
|||||||
enabled: true,
|
enabled: true,
|
||||||
fingerprint: proxy['client-fingerprint'],
|
fingerprint: proxy['client-fingerprint'],
|
||||||
};
|
};
|
||||||
|
if (proxy.fingerprint && proxy.fingerprint !== '')
|
||||||
|
parsedProxy.tls.utls = {
|
||||||
|
enabled: true,
|
||||||
|
fingerprint: proxy.fingerprint,
|
||||||
|
};
|
||||||
if (proxy['reality-opts']) {
|
if (proxy['reality-opts']) {
|
||||||
parsedProxy.tls.reality = { enabled: true };
|
parsedProxy.tls.reality = { enabled: true };
|
||||||
if (proxy['reality-opts']['public-key'])
|
if (proxy['reality-opts']['public-key'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user