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:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-03-12 19:14:51 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-03-12 19:14:51 +0300
commit8b5fe0b018af70c5302966f1d3d4d9a1cdd82dad (patch)
tree0beea2e09b894f4ca8c63bb5d09308d7bb4b048a /sub/subController.go
parentfc23af5db651b7a86252298862509635ace161b3 (diff)
[subJson] add mux and direct
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
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