Fix gamehub connection + config

This commit is contained in:
2024-08-25 16:44:04 -05:00
parent 31d7845edc
commit 9a362a514e
2 changed files with 22 additions and 25 deletions

View File

@@ -16,7 +16,7 @@ public class GameHubNode : IAsyncDisposable
}
this.hubConnection = new HubConnectionBuilder()
.WithUrl(new Uri($"{baseUrl}/gamehub", UriKind.Absolute), options =>
.WithUrl(new Uri(new Uri(baseUrl, UriKind.Absolute), "gamehub"), options =>
{
options.HttpMessageHandlerFactory = handler => new CookieCredentialsMessageHandler { InnerHandler = handler };
options.SkipNegotiation = true;