mirror of
https://github.com/yanue/V2rayU.git
synced 2025-06-27 05:30:09 +00:00
Merge pull request #597 from LeeCenY/master
Fix subscribe link request cache bug
This commit is contained in:
commit
025b93884d
@ -247,7 +247,10 @@ class V2raySubSync: NSObject {
|
||||
public func dlFromUrl(url: String, subscribe: String) {
|
||||
logTip(title: "loading from : ", uri: "", informativeText: url + "\n\n")
|
||||
|
||||
Alamofire.request(url).responseString { response in
|
||||
var request = URLRequest(url: URL(string: url)!)
|
||||
request.cachePolicy = .reloadIgnoringCacheData
|
||||
|
||||
Alamofire.request(request).responseString { response in
|
||||
switch (response.result) {
|
||||
case .success(_):
|
||||
if let data = response.result.value {
|
||||
|
Loading…
x
Reference in New Issue
Block a user