mirror of
https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 00:52:40 +00:00
chore(hysteria2): Uri support with tfo
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user