mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:37:22 +01:00
minor fixes and renamings for intro landing page
This commit is contained in:
parent
9bf1a7cf36
commit
99e80aeb4d
6 changed files with 17 additions and 11 deletions
|
|
@ -109,12 +109,11 @@ namespace MareSynchronos.WebAPI
|
|||
{
|
||||
if (message is HttpClientHandler clientHandler)
|
||||
clientHandler.ServerCertificateCustomValidationCallback +=
|
||||
(sender, certificate, chain, sslPolicyErrors) => true;
|
||||
(_, _, _, _) => true;
|
||||
return message;
|
||||
};
|
||||
#endif
|
||||
}).Build();
|
||||
PluginLog.Debug("Heartbeat service built to: " + ApiUri);
|
||||
|
||||
await _heartbeatHub.StartAsync(cts.Token);
|
||||
UID = await _heartbeatHub!.InvokeAsync<string>("Heartbeat");
|
||||
|
|
@ -125,9 +124,9 @@ namespace MareSynchronos.WebAPI
|
|||
await LoadInitialData();
|
||||
Connected?.Invoke(this, EventArgs.Empty);
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
PluginLog.Error(ex, "Error during Heartbeat initialization");
|
||||
//PluginLog.Error(ex, "Error during Heartbeat initialization");
|
||||
}
|
||||
|
||||
_heartbeatHub.Closed += OnHeartbeatHubOnClosed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue