mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
app.MapHub<FriendsHub>("/api/friends");
This commit is contained in:
@@ -120,7 +120,9 @@ app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
|
||||
app.MapControllers();
|
||||
|
||||
app.MapHub<ChatsHub>("/api/chats");
|
||||
app.MapHub<FriendsHub>("/api/friends");
|
||||
|
||||
app.MapSwagger().RequireAuthorization();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user