From 16167b15d2b871b90df293af0871ebf38ff3fc1e Mon Sep 17 00:00:00 2001 From: yicheng <11733500+yichengchen@users.noreply.github.com> Date: Wed, 9 Dec 2020 20:42:15 +0800 Subject: [PATCH] fix mmdb download url --- ClashX/General/Managers/ClashResourceManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ClashX/General/Managers/ClashResourceManager.swift b/ClashX/General/Managers/ClashResourceManager.swift index 336bd7948..28129db17 100644 --- a/ClashX/General/Managers/ClashResourceManager.swift +++ b/ClashX/General/Managers/ClashResourceManager.swift @@ -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)