mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 08:36:11 +02:00
feat: Log connection details when PublicServer is enabled
This commit is contained in:
@@ -33,6 +33,8 @@ public sealed class ServerDirectoryService(
|
|||||||
var serverName = configuration["Server:Name"] ?? "EchoHub Server";
|
var serverName = configuration["Server:Name"] ?? "EchoHub Server";
|
||||||
var description = configuration["Server:Description"];
|
var description = configuration["Server:Description"];
|
||||||
|
|
||||||
|
logger.LogInformation("PublicServer is enabled — connecting to EchoHubSpace directory as {Name} ({Host})", serverName, host);
|
||||||
|
|
||||||
_connection = new HubConnectionBuilder()
|
_connection = new HubConnectionBuilder()
|
||||||
.WithUrl(DirectoryHubUrl)
|
.WithUrl(DirectoryHubUrl)
|
||||||
.WithAutomaticReconnect()
|
.WithAutomaticReconnect()
|
||||||
|
|||||||
Reference in New Issue
Block a user