Compare commits

..

No commits in common. "06e77505cc4488b5487a72031218cc939356a619" and "4e18ec1cf366e422a6c4231bd99181284ae683c2" have entirely different histories.

View File

@ -19,10 +19,9 @@ builder.Services.AddScoped(sp => //new HttpClient
var http = new HttpClient var http = new HttpClient
{ {
// BaseAddress = new Uri("http://0.0.0.0:5144") // BaseAddress = new Uri("http://0.0.0.0:5144")
BaseAddress = new Uri("https://devacamate.ipstein.myds.me") BaseAddress = builder.HostEnvironment.IsDevelopment()
// BaseAddress = builder.HostEnvironment.IsDevelopment() ? new Uri("https://devacamate.ipstein.myds.me")
// ? new Uri("https://devacamate.ipstein.myds.me") : new Uri("https://acamate.ipstein.myds.me")
// : new Uri("https://acamate.ipstein.myds.me")
}; };
return http; return http;