mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 04:30:08 +00:00
update sing-box support
This commit is contained in:
@@ -2,6 +2,7 @@ package node
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/Yuzuki616/V2bX/api/panel"
|
||||
"github.com/Yuzuki616/V2bX/conf"
|
||||
vCore "github.com/Yuzuki616/V2bX/core"
|
||||
@@ -23,7 +24,7 @@ func (n *Node) Start(nodes []*conf.NodeConfig, core vCore.Core) error {
|
||||
return err
|
||||
}
|
||||
// Register controller service
|
||||
n.controllers[i] = NewController(core, p, c.ControllerConfig)
|
||||
n.controllers[i] = NewController(core, p, c.Options)
|
||||
err = n.controllers[i].Start()
|
||||
if err != nil {
|
||||
return fmt.Errorf("start node controller [%s-%s-%d] error: %s",
|
||||
|
||||
Reference in New Issue
Block a user