small fixes

This commit is contained in:
Alireza Ahmadi
2024-03-17 20:21:51 +01:00
parent 7e4f6e5131
commit 3b7738a6c9
2 changed files with 1 additions and 2 deletions

View File

@@ -44,7 +44,6 @@ func NewSubJsonService(fragment string, mux string, rules string, subService *Su
defaultRules, _ := routing["rules"].([]interface{})
json.Unmarshal([]byte(rules), &newRules)
defaultRules = append(newRules, defaultRules...)
fmt.Printf("routing: %#v\n\nRules: %#v\n\n", routing, defaultRules)
routing["rules"] = defaultRules
configJson["routing"] = routing
}