[👷🏻] 채팅(Base) 수정 5차

Signed-off-by: seonkyu.kim <sean.kk@daum.net>
This commit is contained in:
김선규 2025-02-18 00:57:23 +09:00
parent 6f199389f1
commit 4b7308f9d6

View File

@ -74,7 +74,6 @@ builder.Services.AddEndpointsApiExplorer();
builder.Services.AddCustomSwagger();
// SignalR 설정 추가 부분
/*
builder.Services.AddSignalR();
builder.Services.AddCors(option =>
{
@ -88,7 +87,6 @@ builder.Services.AddCors(option =>
});
});
*/
///// ===== builder 설정 부 ===== /////
@ -111,9 +109,8 @@ else
app.UseHttpsRedirection();
app.UseRouting();
app.MapControllers();
// app.MapControllers();
/*
app.UseCors("CorsPolicy");
app.UseAuthorization();
@ -123,7 +120,6 @@ app.UseEndpoints(end =>
end.MapControllers();
end.MapHub<ChatHub>("/chatHub");
});
*/
app.Run();