mirror of
https://github.com/bestnite/sub2sing-box.git
synced 2025-10-27 17:31:17 +00:00
⚡️ Remove redundant fields from results
This commit is contained in:
@@ -260,7 +260,10 @@ func ConvertSubscriptionsToSProxy(urls []string) ([]model.Outbound, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
proxy, err := util.DecodeBase64(data)
|
||||
proxy := data
|
||||
if !strings.Contains(data, "://") {
|
||||
proxy, err = util.DecodeBase64(data)
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user