mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-10 04:06:18 +00:00
Update subJsonService.go
This commit is contained in:
parent
39873d4745
commit
20c88c96dc
1 changed files with 0 additions and 1 deletions
|
@ -44,7 +44,6 @@ func NewSubJsonService(fragment string, mux string, rules string, subService *Su
|
||||||
defaultRules, _ := routing["rules"].([]interface{})
|
defaultRules, _ := routing["rules"].([]interface{})
|
||||||
json.Unmarshal([]byte(rules), &newRules)
|
json.Unmarshal([]byte(rules), &newRules)
|
||||||
defaultRules = append(newRules, defaultRules...)
|
defaultRules = append(newRules, defaultRules...)
|
||||||
fmt.Printf("routing: %#v\n\nRules: %#v\n\n", routing, defaultRules)
|
|
||||||
routing["rules"] = defaultRules
|
routing["rules"] = defaultRules
|
||||||
configJson["routing"] = routing
|
configJson["routing"] = routing
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue