feat: add remote control plane and whitelist reads
Build web service image / build (push) Successful in 1m53s
Build web service image / build (push) Successful in 1m53s
This commit is contained in:
@@ -174,7 +174,10 @@ internal sealed class TrayApplicationContext : ApplicationContext
|
||||
AllowedOrigins = source.AllowedOrigins ?? [],
|
||||
AccessToken = token,
|
||||
CredentialFile = credentialFile,
|
||||
DataDirectory = dataDirectory
|
||||
DataDirectory = dataDirectory,
|
||||
Remote = source.Remote,
|
||||
Reporting = source.Reporting,
|
||||
RemoteConfigurationFile = source.RemoteConfigurationFile
|
||||
};
|
||||
|
||||
private ServiceOptions ReadOptions() =>
|
||||
@@ -405,7 +408,10 @@ internal static class ServiceSettingsEditor
|
||||
AllowedOrigins = current.AllowedOrigins,
|
||||
AccessToken = tokenBox.Text,
|
||||
CredentialFile = current.CredentialFile,
|
||||
DataDirectory = current.DataDirectory
|
||||
DataDirectory = current.DataDirectory,
|
||||
Remote = current.Remote,
|
||||
Reporting = current.Reporting,
|
||||
RemoteConfigurationFile = current.RemoteConfigurationFile
|
||||
};
|
||||
try { edited.Validate(); }
|
||||
catch (Exception exception)
|
||||
|
||||
Reference in New Issue
Block a user