feat: hysteria2 支持 mport, clash.meta(mihomo) 支持 ports

This commit is contained in:
xream
2024-03-21 20:07:24 +08:00
parent 1fa6af63c5
commit 51e1596ab0
3 changed files with 5 additions and 1 deletions

View File

@@ -274,6 +274,9 @@ export default function URI_Producer() {
`sni=${encodeURIComponent(proxy.sni)}`,
);
}
if (proxy.ports) {
hysteria2params.push(`mport=${proxy.ports}`);
}
if (proxy['tls-fingerprint']) {
hysteria2params.push(
`pinSHA256=${encodeURIComponent(