I'm pretending that I know what I'm doing
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user