diff --git a/Program.cs b/Program.cs index b6c89ea..3637a7d 100644 --- a/Program.cs +++ b/Program.cs @@ -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"); }); -*/ app.Run(); \ No newline at end of file