postit: allow self-signed OIDC TLS in Development #9

Merged
notazof merged 7 commits from fix/OIDC-debugging into main 2026-08-02 21:32:53 +01:00
Showing only changes of commit fda43ba2d1 - Show all commits
Paul Schneider 2026-07-12 16:27:13 +01:00

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();
}