Skip to content

Commit

Permalink
remove extra print
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Sep 28, 2024
1 parent a9df256 commit dd8fc3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/cmd_convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func init() {
}

func convert(link string) error {
outbound, err := ray2sing.Ray2Singbox(link)
outbound, err := ray2sing.Ray2Singbox(link, false)
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func main() {
} else {
configs = read()
}
clash_conf, err := ray2sing.Ray2Singbox(configs, true)
clash_conf, err := ray2sing.Ray2Singbox(configs, false)
if err != nil {
log.Fatalf("Failed to parse config: %v", err)
}
Expand Down
2 changes: 1 addition & 1 deletion ray2sing/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func GenerateConfigLite(input string, useXrayWhenPossible bool) (string, error)

chains := strings.Split(config, "&&detour=")
for _, chain := range chains {
fmt.Printf("%s", chain)
// fmt.Printf("%s", chain)
configSingbox, err := processSingleConfig(chain, useXrayWhenPossible)

if err != nil {
Expand Down

0 comments on commit dd8fc3f

Please sign in to comment.