diff --git a/WeatherDashboard.Web/Program.cs b/WeatherDashboard.Web/Program.cs index 1f4d143..0ece14d 100644 --- a/WeatherDashboard.Web/Program.cs +++ b/WeatherDashboard.Web/Program.cs @@ -13,6 +13,7 @@ var app = builder.Build(); if (!app.Environment.IsDevelopment()) { app.UseExceptionHandler("/Home/Error"); + app.UseHttpsRedirection(); } app.UseStaticFiles();