url proxy fix

This commit is contained in:
2026-02-16 17:46:38 +01:00
parent 1750f5adb1
commit 7bc41118fd
5 changed files with 11 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ app.UseCors("frontend");
app.UseAuthentication();
app.UseAuthorization();
app.MapHub<TestHub>("/testhub");
app.MapHub<WhiteboardHub>("/whiteboardhub");
app.MapHub<TestHub>("/hubs/test");
app.MapHub<WhiteboardHub>("/hubs/whiteboard");
app.Run();

View File

@@ -52,6 +52,8 @@ public class WorkerService : BackgroundService
try
{
await _dispatcher.Execute(message, ct);
Console.WriteLine($"OK: {message.GetType().Name}");
}
catch (ValidationException validationException)
{