From 4ef3f3dc23fe1968b5ff076d2649fc35327d8bcc Mon Sep 17 00:00:00 2001 From: "Seonkyu.kim" Date: Mon, 19 May 2025 17:00:19 +0900 Subject: [PATCH] =?UTF-8?q?[=E2=99=BB=EF=B8=8F]=20=EA=B0=9C=EB=B0=9C?= =?UTF-8?q?=EA=B8=B0=20Front=20=EA=B2=80=EC=A6=9D=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Program.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index df27b1a..be45394 100644 --- a/Program.cs +++ b/Program.cs @@ -163,7 +163,6 @@ builder.Logging.ClearProviders(); builder.Logging.AddConsole(); if (builder.Environment.IsDevelopment()) { builder.Logging.SetMinimumLevel(LogLevel.Trace); - builder.WebHost.UseUrls("http://0.0.0.0:7004"); } else { @@ -171,6 +170,9 @@ else } +builder.WebHost.UseUrls("http://0.0.0.0:7004"); + + // 로컬 테스트 위한 부분 (올릴때는 꺼두기) // builder.WebHost.UseUrls("http://0.0.0.0:5144"); @@ -179,6 +181,7 @@ else var app = builder.Build(); string staticRoot; + if (app.Environment.IsDevelopment()) { // app.UseSwagger();