update xray-core&hy2-core

This commit is contained in:
wyx2685 committed 2024-12-02 08:38:23 +09:00
1 parent c2d5861d7d
commit 4f9ccdf8db
6 files changed
+44 -40

No files matched your search

-5
View File
@@ -208,11 +208,6 @@ func buildV2ray(config *conf.Options, nodeInfo *panel.NodeInfo, inbound *coreCon
if err != nil {
return fmt.Errorf("unmarshal grpc settings error: %s", err)
}
case "http":
err := json.Unmarshal(v.NetworkSettings, &inbound.StreamSetting.HTTPSettings)
if err != nil {
return fmt.Errorf("unmarshal grpc settings error: %s", err)
}
case "httpupgrade":
err := json.Unmarshal(v.NetworkSettings, &inbound.StreamSetting.HTTPUPGRADESettings)
if err != nil {