mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2026-05-09 18:11:26 +08:00
update comment in patchProviders
This commit is contained in:
@@ -114,7 +114,7 @@ func patchProviders(cfg *config.RawConfig, profileDir string) error {
|
|||||||
} else if url, ok := provider["url"].(string); ok {
|
} else if url, ok := provider["url"].(string); ok {
|
||||||
path = prefix + "/" + utils.MakeHash([]byte(url)).String() // same as C.GetPathByHash
|
path = prefix + "/" + utils.MakeHash([]byte(url)).String() // same as C.GetPathByHash
|
||||||
} else {
|
} else {
|
||||||
return // both path and url is empty, WTF???
|
return // both path and url are empty, maybe inline provider
|
||||||
}
|
}
|
||||||
provider["path"] = profileDir + "/providers/" + path
|
provider["path"] = profileDir + "/providers/" + path
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user