From 3b7738a6c93220d39f2e673b56a3ab0803b54b2b Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Sun, 17 Mar 2024 20:21:51 +0100 Subject: [PATCH] small fixes --- sub/subJsonService.go | 1 - web/html/xui/index.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sub/subJsonService.go b/sub/subJsonService.go index 9ff3fa2c..3955dbd4 100644 --- a/sub/subJsonService.go +++ b/sub/subJsonService.go @@ -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 } diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 9c484cbf..e8107544 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -311,7 +311,7 @@ + :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs?.join('\n'))" download="x-ui.log">