This commit is contained in:
mmrbnjd
2024-06-30 19:57:32 +03:30
parent cf521860cf
commit 3702145d02
11 changed files with 214 additions and 150 deletions

View File

@@ -33,9 +33,13 @@ builder.Services.AddScoped(sp => new UserAuthenticationDTO()
exitDate = new DateTime(),
}) ;
// Server
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://195.88.208.142:7075/api/") });
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
//Home
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
//farzan
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://localhost:5271/api/") });
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("fa-Ir");