This commit is contained in:
Paul Schneider 2026-07-12 16:27:13 +01:00
commit fda43ba2d1

View file

@ -972,7 +972,8 @@ public static class HostingExtensions
else
{
app.UseExceptionHandler("/Home/Error");
logger.LogInformation("Running in production mode. Ensure the database is migrated.");
app.UseHsts();
logger.LogInformation("⨝ Running in production mode. Ensure the database is migrated.");
await app.MigrateDatabaseAsync();
}