mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Enhancements
Fix compatibility with some non-standard Surge configurations. Refactor Clash Rule generation to speed up the process. Optimize codes.
This commit is contained in:
5 files changed
+131
-108
No files matched your search
@@ -84,3 +84,8 @@ std::shared_future<std::string> fetchFileAsync(const std::string &path, const st
|
||||
retVal.wait();
|
||||
return retVal;
|
||||
}
|
||||
|
||||
std::string fetchFile(const std::string &path, const std::string &proxy, int cache_ttl)
|
||||
{
|
||||
return fetchFileAsync(path, proxy, cache_ttl, false).get();
|
||||
}
|
||||
Reference in new issue
Block a user