细节调整
This commit is contained in:
parent
c640420188
commit
ca07f80b21
|
|
@ -121,7 +121,7 @@ app.UseMiddleware<CustomErrorMiddleware>();
|
||||||
//执行匹配的端点
|
//执行匹配的端点
|
||||||
app.UseEndpoints(endpoints =>
|
app.UseEndpoints(endpoints =>
|
||||||
{
|
{
|
||||||
endpoints.MapHub<SocketHub>("/notification");
|
endpoints.MapHub<SocketHub>("/websocket");
|
||||||
endpoints.MapControllers();
|
endpoints.MapControllers();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue