Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sub/subController.go')
-rw-r--r--sub/subController.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/sub/subController.go b/sub/subController.go
index dc66c892..8fd39efa 100644
--- a/sub/subController.go
+++ b/sub/subController.go
@@ -26,6 +26,8 @@ func NewSUBController(
rModel string,
update string,
jsonFragment string,
+ jsonMux string,
+ jsonRules string,
) *SUBController {
sub := NewSubService(showInfo, rModel)
a := &SUBController{
@@ -35,7 +37,7 @@ func NewSUBController(
updateInterval: update,
subService: sub,
- subJsonService: NewSubJsonService(jsonFragment, sub),
+ subJsonService: NewSubJsonService(jsonFragment, jsonMux, jsonRules, sub),
}
a.initRouter(g)
return a