Merge pull request '[👷🏻] 채팅(Base) 롤백' (#25) from seonkyu.kim/AcaMate_API:main into debug
All checks were successful
Back/pipeline/head This commit looks good

Reviewed-on: https://git.ipstein.myds.me/AcaMate/AcaMate_API/pulls/25
This commit is contained in:
김선규 2025-02-17 15:35:22 +00:00
commit b65235162a

View File

@ -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();