mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-02 05:40:37 +08:00
chore(hysteria2): Uri support with tfo
This commit is contained in:
parent
fe937d6ebf
commit
e7dfa1ce38
@ -249,6 +249,9 @@ export default function URI_Producer() {
|
||||
`pinSHA256=${encodeURIComponent(proxy['tls-fingerprint'])}`,
|
||||
);
|
||||
}
|
||||
if (proxy.tfo) {
|
||||
hysteria2params.push(`fastopen=1`);
|
||||
}
|
||||
result = `hysteria2://${proxy.password}@${proxy.server}:${
|
||||
proxy.port
|
||||
}?${hysteria2params.join('&')}#${encodeURIComponent(
|
||||
|
Loading…
x
Reference in New Issue
Block a user