socket
This commit is contained in:
parent
86805fc843
commit
6736b5dd6f
@ -169,7 +169,7 @@ app.UseRateLimiter();
|
||||
app.UseEndpoints(endpoints =>
|
||||
{
|
||||
endpoints.MapHub<MessageHub>("/msgHub"); // ChatHub 是你自定义的 Hub 类名
|
||||
endpoints.MapHub<MessageHub>("/msgHub");
|
||||
endpoints.MapHub<PBLhub>("/pbl");
|
||||
});
|
||||
|
||||
app.MapControllerRoute(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user