app.MapHub<FriendsHub>("/api/friends");

This commit is contained in:
Artemy
2025-07-11 12:19:32 +07:00
parent d9dfaff079
commit e8e2078514
9 changed files with 249 additions and 325 deletions
+2
View File
@@ -120,7 +120,9 @@ app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
app.MapHub<ChatsHub>("/api/chats");
app.MapHub<FriendsHub>("/api/friends");
app.MapSwagger().RequireAuthorization();