修复Sing内核trojan用户列表BUG、修复用户设备限制不生效

This commit is contained in:
wyx2685
2024-03-04 22:25:06 +09:00
parent 995e606694
commit ed5edda28a
5 changed files with 48 additions and 39 deletions

View File

@@ -1,8 +1,6 @@
package hy2
import (
"fmt"
"github.com/InazumaV/V2bX/api/panel"
"github.com/InazumaV/V2bX/conf"
"github.com/apernet/hysteria/core/server"
@@ -31,8 +29,6 @@ func (h *Hysteria2) AddNode(tag string, info *panel.NodeInfo, config *conf.Optio
if err := v.Unmarshal(&c); err != nil {
h.Logger.Fatal("failed to parse server config", zap.Error(err))
}
h.Logger.Debug("loaded server config:")
fmt.Printf("%+v", c)
}
n := Hysteria2node{
Tag: tag,