|
|
@@ -16,14 +16,7 @@ internal class AutoDiscoveryEngine : Engine<AutoDiscoveryServerProperties>
|
|
|
var settings = new AutoDiscoverySettings();
|
|
|
settings.Name = Properties.DisplayName;
|
|
|
|
|
|
- var urls = Properties.ServerURLs;
|
|
|
- if (String.IsNullOrWhiteSpace(urls))
|
|
|
- {
|
|
|
- var url = CoreUtils.GetPropertyValue(Properties, "ServerURL") as String;
|
|
|
- var port = CoreUtils.GetPropertyValue(Properties, "ServerPort");
|
|
|
- urls = !String.IsNullOrWhiteSpace(url) ? $"{url}:{port}" : "";
|
|
|
- }
|
|
|
- settings.URLs = urls.Split(';');
|
|
|
+ settings.URLs = Properties.ServerURLs.Split(';');
|
|
|
|
|
|
settings.Protocol = Properties.Protocol;
|
|
|
settings.LibraryLocation = Properties.LibraryLocation;
|