Merge pull request '[👷🏻] 채팅(Base) 롤백' (#25) from seonkyu.kim/AcaMate_API:main into debug
All checks were successful
Back/pipeline/head This commit looks good
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:
commit
b65235162a
|
@ -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