From a03aabc8fb46961b1a31cba5894c3fa845377c86 Mon Sep 17 00:00:00 2001 From: "Seonkyu.kim" Date: Wed, 28 May 2025 15:17:13 +0900 Subject: [PATCH] =?UTF-8?q?[=F0=9F=90=9B]=20url=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. API 가 바라보는 url 변경 --- Program.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Program.cs b/Program.cs index 4d8533d..ad191d2 100644 --- a/Program.cs +++ b/Program.cs @@ -19,9 +19,10 @@ builder.Services.AddScoped(sp => //new HttpClient var http = new HttpClient { // BaseAddress = new Uri("http://0.0.0.0:5144") - BaseAddress = builder.HostEnvironment.IsDevelopment() - ? new Uri("https://devacamate.ipstein.myds.me") - : new Uri("https://acamate.ipstein.myds.me") + BaseAddress = new Uri("https://devacamate.ipstein.myds.me") + // BaseAddress = builder.HostEnvironment.IsDevelopment() + // ? new Uri("https://devacamate.ipstein.myds.me") + // : new Uri("https://acamate.ipstein.myds.me") }; return http; -- 2.45.1