https://github.com/2dust/v2rayN/pull/5829
This commit is contained in:
2dust
2024-10-14 19:29:15 +08:00
parent 9540669f56
commit 24afe8bde4
9 changed files with 21 additions and 17 deletions
+3 -1
View File
@@ -451,7 +451,9 @@ namespace ServiceLib.Services
_config = config;
_updateFunc = updateFunc;
var geoUrl = !String.IsNullOrEmpty(config?.guiItem.geoSourceUrl) ? config.guiItem.geoSourceUrl : Global.GeoUrl;
var geoUrl = string.IsNullOrEmpty(config?.constItem.geoSourceUrl)
? Global.GeoUrl
: config.constItem.geoSourceUrl;
var url = string.Format(Global.GeoUrl, geoName);
var fileName = Utils.GetTempPath(Utils.GetGuid());