diff --git a/RenovationWork/RenovationWorkClientApp/Program.cs b/RenovationWork/RenovationWorkClientApp/Program.cs index ac0dd66..9e961c1 100644 --- a/RenovationWork/RenovationWorkClientApp/Program.cs +++ b/RenovationWork/RenovationWorkClientApp/Program.cs @@ -15,7 +15,7 @@ if (!app.Environment.IsDevelopment()) app.UseHsts(); } - +//app.UseHttpsRedirection(); app.UseStaticFiles(); app.UseRouting(); diff --git a/RenovationWork/RenovationWorkClientApp/appsettings.json b/RenovationWork/RenovationWorkClientApp/appsettings.json index 4c43b57..eb83eb4 100644 --- a/RenovationWork/RenovationWorkClientApp/appsettings.json +++ b/RenovationWork/RenovationWorkClientApp/appsettings.json @@ -6,5 +6,5 @@ } }, "AllowedHosts": "*", - "IPAddress": "http://localhost:5127/" + "IPAddress": "https://localhost:7127" } diff --git a/RenovationWork/RenovationWorkContracts/BindingModels/OrderBindingModel.cs b/RenovationWork/RenovationWorkContracts/BindingModels/OrderBindingModel.cs index 3d0690e..85e2668 100644 --- a/RenovationWork/RenovationWorkContracts/BindingModels/OrderBindingModel.cs +++ b/RenovationWork/RenovationWorkContracts/BindingModels/OrderBindingModel.cs @@ -13,7 +13,7 @@ namespace RenovationWorkContracts.BindingModels public int Id { get; set; } public int ClientId { get; set; } - public string RepairName { get; set; } + public string ? RepairName { get; set; } public int RepairId { get; set; } public int Count { get; set; } public double Sum { get; set; } diff --git a/RenovationWork/RenovationWorkRestApi/Program.cs b/RenovationWork/RenovationWorkRestApi/Program.cs index abb14fe..314aaac 100644 --- a/RenovationWork/RenovationWorkRestApi/Program.cs +++ b/RenovationWork/RenovationWorkRestApi/Program.cs @@ -35,7 +35,7 @@ if (app.Environment.IsDevelopment()) app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "RenovationWorkRestApi v1")); } -app.UseHttpsRedirection(); +//app.UseHttpsRedirection(); app.UseAuthorization();