feat: add tray remote connection settings
This commit is contained in:
@@ -48,7 +48,11 @@ public sealed class ServiceOptions
|
||||
throw new ArgumentException("External HTTP requires a concrete listen IP; do not use 0.0.0.0 or ::.");
|
||||
if (AccessToken is not null && !IsValidAccessToken(AccessToken))
|
||||
throw new ArgumentException("AccessToken must be non-empty and contain no whitespace.");
|
||||
try { (Reporting ?? new ReportingConfig()).NormalizeAndValidate(); }
|
||||
try
|
||||
{
|
||||
Remote?.Validate();
|
||||
(Reporting ?? new ReportingConfig()).NormalizeAndValidate();
|
||||
}
|
||||
catch (WxAgentException exception) { throw new ArgumentException(exception.Message, exception); }
|
||||
_ = ReadCredentials();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user