forked from AcaMate/AcaMate_API
[👷🏻] 채팅(Base) 롤백
Signed-off-by: seonkyu.kim <sean.kk@daum.net>
This commit is contained in:
parent
6f376a5d29
commit
6f199389f1
|
@ -74,6 +74,7 @@ builder.Services.AddEndpointsApiExplorer();
|
|||
builder.Services.AddCustomSwagger();
|
||||
|
||||
// SignalR 설정 추가 부분
|
||||
/*
|
||||
builder.Services.AddSignalR();
|
||||
builder.Services.AddCors(option =>
|
||||
{
|
||||
|
@ -87,6 +88,7 @@ builder.Services.AddCors(option =>
|
|||
|
||||
});
|
||||
});
|
||||
*/
|
||||
|
||||
|
||||
///// ===== builder 설정 부 ===== /////
|
||||
|
@ -109,8 +111,9 @@ else
|
|||
|
||||
app.UseHttpsRedirection();
|
||||
app.UseRouting();
|
||||
app.MapControllers();
|
||||
|
||||
|
||||
/*
|
||||
app.UseCors("CorsPolicy");
|
||||
app.UseAuthorization();
|
||||
|
||||
|
@ -120,6 +123,7 @@ app.UseEndpoints(end =>
|
|||
end.MapControllers();
|
||||
end.MapHub<ChatHub>("/chatHub");
|
||||
});
|
||||
*/
|
||||
|
||||
|
||||
app.Run();
|
Loading…
Reference in New Issue
Block a user