sing内核支持面板rule规则

This commit is contained in:
wyx2685
2025-01-10 16:33:05 +09:00
parent c755e9800b
commit 2f1362067b
10 changed files with 74 additions and 93 deletions

View File

@@ -71,7 +71,7 @@ func New(c *conf.CoreConfig) (vCore.Core, error) {
if err != nil {
return nil, err
}
hs := NewHookServer(c.SingConfig.EnableConnClear)
hs := NewHookServer()
b.Router().SetTracker(hs)
return &Sing{
ctx: b.Router().GetCtx(),