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