mirror of
https://github.com/MetaCubeX/subconverter.git
synced 2025-11-04 18:19:42 +08:00
Fix not loading local rulesets
This commit is contained in:
parent
774d5598ad
commit
f8fab23da5
@ -292,7 +292,7 @@ void refreshRulesets(RulesetConfigs &ruleset_list, std::vector<RulesetContent> &
|
||||
type = iter->second;
|
||||
}
|
||||
writeLog(0, "Updating ruleset url '" + rule_url + "' with group '" + rule_group + "'.", LOG_LEVEL_INFO);
|
||||
rc = {rule_group, rule_url, rule_url_typed, type, fetchFileAsync(rule_url, proxy, global.cacheRuleset, global.asyncFetchRuleset), x.Interval};
|
||||
rc = {rule_group, rule_url, rule_url_typed, type, fetchFileAsync(rule_url, proxy, global.cacheRuleset, true, global.asyncFetchRuleset), x.Interval};
|
||||
}
|
||||
ruleset_content_array.emplace_back(std::move(rc));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user