Added Client feature: reading configuration from Server in startup form
This commit is contained in:
+6
-1
@@ -41,7 +41,12 @@ namespace CMS_Client
|
||||
{
|
||||
// Read ARGS Config
|
||||
if (!String.IsNullOrWhiteSpace(args[0]))
|
||||
Config.ConnectionConfig.Url = args[0];
|
||||
{
|
||||
Config.ConnectionConfig.BypassReadConfiguration = true;
|
||||
Config.ConnectionConfig.StartingUrl = args[0];
|
||||
}
|
||||
else
|
||||
Config.ConnectionConfig.BypassReadConfiguration = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user