From 0bf52a28b9bdf528856a9e8513e8e035a1a9372a Mon Sep 17 00:00:00 2001 From: mack-a <57424792+mack-a@users.noreply.github.com> Date: Sun, 19 Nov 2023 12:08:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=84=9A=E6=9C=AC):=20=E4=BF=AE=E6=94=B9hy?= =?UTF-8?q?steria2=E7=9A=84=E5=B8=A6=E5=AE=BD=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/install.sh b/install.sh index da709d3..d92f52a 100644 --- a/install.sh +++ b/install.sh @@ -567,8 +567,8 @@ readSingBoxConfig() { if grep -q 'hysteria2' 下行速度: ${hysteria2ClientDownloadSpeed}\n" fi @@ -3372,8 +3372,8 @@ initSingBoxHysteria2Config() { "listen": "::", "listen_port": ${hysteriaPort}, "users": $(initXrayClients 6), - "up_mbps":${hysteria2ClientUploadSpeed}, - "down_mbps":${hysteria2ClientDownloadSpeed}, + "up_mbps":${hysteria2ClientDownloadSpeed}, + "down_mbps":${hysteria2ClientUploadSpeed}, "tls": { "enabled": true, "server_name":"${currentHost}", @@ -4525,8 +4525,8 @@ EOF alpn: - h3 sni: ${currentHost} - up: "${hysteria2ClientDownloadSpeed} Mbps" - down: "${hysteria2ClientUploadSpeed} Mbps" + up: "${hysteria2ClientUploadSpeed} Mbps" + down: "${hysteria2ClientDownloadSpeed} Mbps" EOF echoContent yellow " ---> 二维码 Hysteria2(TLS)" echoContent green " https://api.qrserver.com/v1/create-qr-code/?size=400x400&data=hysteria2%3A%2F%2F${id}%40${currentHost}%3A${hysteriaPort}%3Fpeer%3D${currentHost}%26insecure%3D0%26sni%3D${currentHost}%26alpn%3Dh3%23${email}\n" @@ -8483,7 +8483,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v2.11.17" + echoContent green "当前版本:v2.11.18" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus