mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-04-23 22:29:32 +08:00
fix(hysteria2): Change to TLS Fingerprint
This commit is contained in:
parent
b7b734f529
commit
fe937d6ebf
@ -244,9 +244,9 @@ export default function URI_Producer() {
|
||||
`sni=${encodeURIComponent(proxy.sni)}`,
|
||||
);
|
||||
}
|
||||
if (proxy.fingerprint) {
|
||||
if (proxy['tls-fingerprint']) {
|
||||
hysteria2params.push(
|
||||
`pinSHA256=${encodeURIComponent(proxy.fingerprint)}`,
|
||||
`pinSHA256=${encodeURIComponent(proxy['tls-fingerprint'])}`,
|
||||
);
|
||||
}
|
||||
result = `hysteria2://${proxy.password}@${proxy.server}:${
|
||||
|
Loading…
x
Reference in New Issue
Block a user