Skip to content

Commit

Permalink
fix mmdb download url
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengchen committed Dec 9, 2020
1 parent 54f5df6 commit 16167b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClashX/General/Managers/ClashResourceManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ extension ClashResourceManager {
}

@objc private static func updateGeoIP() {
let url = " https://github.com/Dreamacro/maxmind-geoip/releases/latest/download/Country.mmdb"
let url = "https://github.com/Dreamacro/maxmind-geoip/releases/latest/download/Country.mmdb"
AF.download(url) { (_, _) -> (destinationURL: URL, options: DownloadRequest.Options) in
let path = kConfigFolderPath.appending("/Country.mmdb")
return (URL(fileURLWithPath: path), .removePreviousFile)
Expand Down

0 comments on commit 16167b1

Please sign in to comment.