mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 05:30:06 +08:00
fix hysteria migrate
This commit is contained in:
parent
6ca6575a6a
commit
ef01301f35
@ -258,7 +258,7 @@ namespace Configs {
|
|||||||
bean = new Configs::TrojanVLESSBean(Configs::TrojanVLESSBean::proxy_VLESS);
|
bean = new Configs::TrojanVLESSBean(Configs::TrojanVLESSBean::proxy_VLESS);
|
||||||
outbound = new Configs::vless();
|
outbound = new Configs::vless();
|
||||||
} else if (type == "hysteria" || type == "hysteria2") {
|
} else if (type == "hysteria" || type == "hysteria2") {
|
||||||
bean = new Configs::QUICBean(Configs::QUICBean::proxy_Hysteria);
|
bean = new Configs::QUICBean(type == "hysteria" ? Configs::QUICBean::proxy_Hysteria : Configs::QUICBean::proxy_Hysteria2);
|
||||||
outbound = new Configs::hysteria();
|
outbound = new Configs::hysteria();
|
||||||
} else if (type == "tuic") {
|
} else if (type == "tuic") {
|
||||||
bean = new Configs::QUICBean(Configs::QUICBean::proxy_TUIC);
|
bean = new Configs::QUICBean(Configs::QUICBean::proxy_TUIC);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user