This commit is contained in:
mmrbnjd
2024-08-28 00:29:35 +03:30
parent 21eeb4d11b
commit c118dc0d6b
9 changed files with 338 additions and 27 deletions

View File

@@ -23,8 +23,7 @@ builder.Services.AddScoped(sp => new UserAuthenticationDTO()
IsAdmin = false,
Logo = "",
Name = ""
}
,
},
FullName = "",
Photo="",
Token="",
@@ -37,10 +36,10 @@ builder.Services.AddScoped(sp => new UserAuthenticationDTO()
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://195.88.208.142:7075/api/") });
//Home
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
//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/") });
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://localhost:5271/api/") });
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("fa-Ir");