Add sing-box srs custom url support for fix TUN (#5835)

Co-authored-by: 2dust <31833384+2dust@users.noreply.github.com>
This commit is contained in:
runetfreedom
2024-10-15 08:28:51 +03:00
committed by GitHub
parent e96c9abd69
commit eebb6735aa
11 changed files with 70 additions and 3 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ namespace ServiceLib.Services
var geoUrl = string.IsNullOrEmpty(config?.constItem.geoSourceUrl)
? Global.GeoUrl
: config.constItem.geoSourceUrl;
var url = string.Format(Global.GeoUrl, geoName);
var url = string.Format(geoUrl, geoName);
var fileName = Utils.GetTempPath(Utils.GetGuid());
DownloadService downloadHandle = new();