update comment in patchProviders

This commit is contained in:
wwqgtxx
2026-01-20 14:44:51 +08:00
parent 2c106d5a7e
commit 6969e1b657

View File

@@ -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
}) })