url proxy fix
This commit is contained in:
@@ -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();
|
||||
@@ -52,6 +52,8 @@ public class WorkerService : BackgroundService
|
||||
try
|
||||
{
|
||||
await _dispatcher.Execute(message, ct);
|
||||
|
||||
Console.WriteLine($"OK: {message.GetType().Name}");
|
||||
}
|
||||
catch (ValidationException validationException)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user