diff --git a/.version b/.version index 046c6ec..f766936 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.17.20.27 \ No newline at end of file +0.17.20.28 \ No newline at end of file diff --git a/NetinaShop.Api/NetinaShop.Api.csproj b/NetinaShop.Api/NetinaShop.Api.csproj index a5a0a02..358c61b 100644 --- a/NetinaShop.Api/NetinaShop.Api.csproj +++ b/NetinaShop.Api/NetinaShop.Api.csproj @@ -6,8 +6,8 @@ enable true Linux - 0.17.20.27 - 0.17.20.27 + 0.17.20.28 + 0.17.20.28 diff --git a/NetinaShop.Api/Program.cs b/NetinaShop.Api/Program.cs index 9f4fc16..e6dd881 100644 --- a/NetinaShop.Api/Program.cs +++ b/NetinaShop.Api/Program.cs @@ -94,6 +94,7 @@ builder.Host.ConfigureContainer(builder => var app = builder.Build(); + // Configure the HTTP request pipeline. if (app.Environment.IsDevelopment()) { @@ -101,6 +102,7 @@ if (app.Environment.IsDevelopment()) //app.UseSwaggerUI(); } app.UseCors("CorsPolicy"); +app.UseHttpsRedirection(); app.UseCustomSwagger(siteSetting.BaseUrl);