Fix gamehub connection + config
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -18,9 +18,6 @@
|
||||
"api://c1e94676-cab0-42ba-8b6c-9532b8486fff/DefaultScope"
|
||||
]
|
||||
},
|
||||
"ShogiApiUrl2": "https://api.lucaserver.space/Shogi.Api/",
|
||||
"SocketUrl2": "wss://api.lucaserver.space/Shogi.Api/",
|
||||
|
||||
"ShogiApiUrl": "https://localhost:5001",
|
||||
"SocketUrl": "wss://localhost:5001"
|
||||
"ShogiApiUrl2": "https://api.lucaserver.space/Shogi.Api/"
|
||||
}
|
||||
Reference in New Issue
Block a user