I'm pretending that I know what I'm doing

This commit is contained in:
Lani Aung
2024-09-21 22:40:15 -06:00
parent 87d60b6918
commit 2054009b97
10 changed files with 193 additions and 32 deletions
+1 -4
View File
@@ -12,10 +12,7 @@ builder.Services.AddDbContextFactory<KisekaeContext>(options => { options.UseNpg
var app = builder.Build();
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Error", createScopeForErrors: true);
}
if (!app.Environment.IsDevelopment()) app.UseExceptionHandler("/Error", true);
app.UseStaticFiles();
app.UseAntiforgery();